Let --dump-default-config default to stdout #2579 (#2586)

This commit is contained in:
Marthog 2018-04-01 16:15:25 +02:00 committed by Seiichi Uchida
parent dec307b2fa
commit bc05621f9b

View File

@ -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(
"",