Skip to content

Commit

Permalink
Merge pull request #2738 from rabuu/canonicalize-maildir
Browse files Browse the repository at this point in the history
Canonicalize init --maildir argument after expanding
  • Loading branch information
djcb authored Aug 6, 2024
2 parents f01360a + 2d7288e commit e6c32f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mu/mu-options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,8 @@ sub_init(CLI::App& sub, Options& opts)
sub.add_option("--maildir,-m", opts.init.maildir, "Top of the maildir")
->type_name("<maildir>")
->default_val(default_mdir)
->transform(ExpandPath, "expand maildir path");
->transform(ExpandPath, "expand maildir path")
->transform(CanonicalizePath, "canonicalize maildir path");
sub.add_option("--my-address", opts.init.my_addresses,
"Personal e-mail address or regexp")
->type_name("<address>");
Expand Down

0 comments on commit e6c32f6

Please sign in to comment.