diff --git a/src/bin/main.rs b/src/bin/main.rs index b59e47930e0..109bc90aadd 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -161,11 +161,13 @@ fn make_opts() -> Options { found reverts to the input file path", "[Path for the configuration file]", ); - opts.optopt( + opts.opt( "", "dump-default-config", "Dumps default configuration to PATH. PATH defaults to stdout, if omitted.", "PATH", + getopts::HasArg::Maybe, + getopts::Occur::Optional, ); opts.optopt( "",