From b5672517fdf37df8f2e3fbf13065723d0486ca56 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 9 Jan 2017 12:48:14 +0100 Subject: 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 --- sys-utils/unshare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-utils/unshare.c') 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] [...]\n"), + fprintf(out, _(" %s [options] [ [...]]\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, out); -- cgit v1.2.3-55-g7522