diff options
| author | Karel Zak <kzak@redhat.com> | 2022-10-24 09:57:07 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2022-10-24 09:57:07 +0200 |
| commit | 55ef593842d94d657c8209042491c7590ea3bdf0 (patch) | |
| tree | 70f93669daee10cf0929026f15678fcc3d6a3d7e /disk-utils | |
| parent | cb92f0d82ae634e46989d3dae673ae3f542f7dd9 (diff) | |
| download | util-linux-55ef593842d94d657c8209042491c7590ea3bdf0.tar.gz | |
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>
Diffstat (limited to 'disk-utils')
| -rw-r--r-- | disk-utils/fdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/fdisk.c b/disk-utils/fdisk.c index 2bd2ef41b..79b904f25 100644 --- a/disk-utils/fdisk.c +++ b/disk-utils/fdisk.c @@ -928,7 +928,7 @@ int main(int argc, char **argv) { "type", required_argument, NULL, 't' }, { "units", optional_argument, NULL, 'u' }, { "version", no_argument, NULL, 'V' }, - { "output", no_argument, NULL, 'o' }, + { "output", required_argument, NULL, 'o' }, { "protect-boot", no_argument, NULL, 'B' }, { "wipe", required_argument, NULL, 'w' }, { "wipe-partitions",required_argument, NULL, 'W' }, |
