diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2010-09-03 11:11:25 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2010-09-03 11:11:25 +0300 |
commit | fce69059cf901ce8075a78c7607d591f144a3b5a (patch) | |
tree | 9752d27d88fdce83c6db7c6b54d4144abf61a41f /src | |
parent | xz: Make setting a preset override a custom filter chain. (diff) | |
download | xz-fce69059cf901ce8075a78c7607d591f144a3b5a.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | src/xz/message.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/xz/message.c b/src/xz/message.c index c62e2b2c..4ccc893c 100644 --- a/src/xz/message.c +++ b/src/xz/message.c @@ -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")); |