From fce69059cf901ce8075a78c7607d591f144a3b5a Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 3 Sep 2010 11:11:25 +0300 Subject: 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. --- src/xz/message.c | 7 +++++-- 1 file 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")); -- cgit v1.2.3