Permalink
Browse files

fdisk: fix usage(), -l [<disk>]

Add square brackets, <disk> is optional for -l.

Reported-by: Phillip Susi <psusi@ubuntu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
  • Loading branch information...
1 parent d41acf7 commit 38d663a6b30781609a8fdc0e02c0b4b76a2ed240 @karelzak committed Nov 19, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 fdisks/fdisk.c
View
@@ -50,8 +50,8 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out)
fputs(USAGE_HEADER, out);
fprintf(out,
- _(" %1$s [options] <disk> change partition table\n"
- " %1$s [options] -l <disk> list partition table(s)\n"),
+ _(" %1$s [options] <disk> change partition table\n"
+ " %1$s [options] -l [<disk>] list partition table(s)\n"),
program_invocation_short_name);
fputs(USAGE_OPTIONS, out);

0 comments on commit 38d663a

Please sign in to comment.