fdisk: fix --output option parsing
Fixes: https://github.com/util-linux/util-linux/issues/1859 Addresses: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022249 Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
cb92f0d82a
commit
55ef593842
1 changed files with 1 additions and 1 deletions
|
@ -928,7 +928,7 @@ int main(int argc, char **argv)
|
||||||
{ "type", required_argument, NULL, 't' },
|
{ "type", required_argument, NULL, 't' },
|
||||||
{ "units", optional_argument, NULL, 'u' },
|
{ "units", optional_argument, NULL, 'u' },
|
||||||
{ "version", no_argument, NULL, 'V' },
|
{ "version", no_argument, NULL, 'V' },
|
||||||
{ "output", no_argument, NULL, 'o' },
|
{ "output", required_argument, NULL, 'o' },
|
||||||
{ "protect-boot", no_argument, NULL, 'B' },
|
{ "protect-boot", no_argument, NULL, 'B' },
|
||||||
{ "wipe", required_argument, NULL, 'w' },
|
{ "wipe", required_argument, NULL, 'w' },
|
||||||
{ "wipe-partitions",required_argument, NULL, 'W' },
|
{ "wipe-partitions",required_argument, NULL, 'W' },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue