From: Karel Zak Date: Tue, 19 Nov 2013 17:30:40 +0000 (+0100) Subject: fdisk: fix usage(), -l [] X-Git-Tag: v2.25-rc1~720 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38d663a6b30781609a8fdc0e02c0b4b76a2ed240;p=thirdparty%2Futil-linux.git fdisk: fix usage(), -l [] Add square brackets, is optional for -l. Reported-by: Phillip Susi Signed-off-by: Karel Zak --- diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c index 874f9d138b..7afd6420bc 100644 --- a/fdisks/fdisk.c +++ b/fdisks/fdisk.c @@ -50,8 +50,8 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out) fputs(USAGE_HEADER, out); fprintf(out, - _(" %1$s [options] change partition table\n" - " %1$s [options] -l list partition table(s)\n"), + _(" %1$s [options] change partition table\n" + " %1$s [options] -l [] list partition table(s)\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out);