aboutsummaryrefslogtreecommitdiff
path: root/src/xz
diff options
context:
space:
mode:
Diffstat (limited to 'src/xz')
-rw-r--r--src/xz/message.c7
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"));