diff options
author | Karel Zak | 2017-01-09 12:48:14 +0100 |
---|---|---|
committer | Karel Zak | 2017-01-09 12:50:47 +0100 |
commit | b5672517fdf37df8f2e3fbf13065723d0486ca56 (patch) | |
tree | cf437f759eb35a03602abe490d284deab00fc517 /sys-utils/unshare.c | |
parent | nsenter: fix usage() and improve man page (diff) | |
download | kernel-qcow2-util-linux-b5672517fdf37df8f2e3fbf13065723d0486ca56.tar.gz kernel-qcow2-util-linux-b5672517fdf37df8f2e3fbf13065723d0486ca56.tar.xz kernel-qcow2-util-linux-b5672517fdf37df8f2e3fbf13065723d0486ca56.zip |
unshare: fix SYNOPSIS and usage()
The "program" is optional and $SHELL is executed by default.
Addresses: https://github.com/karelzak/util-linux/issues/389
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/unshare.c')
-rw-r--r-- | sys-utils/unshare.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/unshare.c b/sys-utils/unshare.c index edd9bbe69..0d02b70b3 100644 --- a/sys-utils/unshare.c +++ b/sys-utils/unshare.c @@ -243,7 +243,7 @@ static void usage(int status) FILE *out = status == EXIT_SUCCESS ? stdout : stderr; fputs(USAGE_HEADER, out); - fprintf(out, _(" %s [options] <program> [<argument>...]\n"), + fprintf(out, _(" %s [options] [<program> [<argument>...]]\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, out); |