1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

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:
Lasse Collin 2010-09-03 11:11:25 +03:00
parent a848e47ced
commit fce69059cf

View file

@ -1076,8 +1076,11 @@ message_help(bool long_help)
"Compress or decompress FILEs in the .xz format.\n\n"),
progname);
puts(_("Mandatory arguments to long options are mandatory for "
"short options too.\n"));
// NOTE: The short help doesn't currently have options that
// take arguments.
if (long_help)
puts(_("Mandatory arguments to long options are mandatory "
"for short options too.\n"));
if (long_help)
puts(_(" Operation mode:\n"));