mirror of https://git.tukaani.org/xz.git
xz: Make --help two lines shorter.
At least for now, the --help option doesn't list any options that take arguments, so "Mandatory arguments to..." can be omitted.
This commit is contained in:
parent
a848e47ced
commit
fce69059cf
|
@ -1076,8 +1076,11 @@ message_help(bool long_help)
|
||||||
"Compress or decompress FILEs in the .xz format.\n\n"),
|
"Compress or decompress FILEs in the .xz format.\n\n"),
|
||||||
progname);
|
progname);
|
||||||
|
|
||||||
puts(_("Mandatory arguments to long options are mandatory for "
|
// NOTE: The short help doesn't currently have options that
|
||||||
"short options too.\n"));
|
// take arguments.
|
||||||
|
if (long_help)
|
||||||
|
puts(_("Mandatory arguments to long options are mandatory "
|
||||||
|
"for short options too.\n"));
|
||||||
|
|
||||||
if (long_help)
|
if (long_help)
|
||||||
puts(_(" Operation mode:\n"));
|
puts(_(" Operation mode:\n"));
|
||||||
|
|
Loading…
Reference in New Issue