]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
sfdisk: add -J between mutually exclusive options
authorKarel Zak <kzak@redhat.com>
Tue, 3 Sep 2019 14:22:21 +0000 (16:22 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 3 Sep 2019 14:22:21 +0000 (16:22 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/sfdisk.c

index f55f88f5ceb26e7a8255e11ee3195e0588ce2fd4..37d652b2f9059c176702f1ee5629401e1d72be68 100644 (file)
@@ -1986,7 +1986,7 @@ int main(int argc, char *argv[])
                { NULL, 0, NULL, 0 },
        };
        static const ul_excl_t excl[] = {       /* rows and cols in ASCII order */
-               { 'F','d'},                     /* --list-free --dump */
+               { 'F','J','d'},                 /* --list-free --json --dump */
                { 's','u'},                     /* --show-size --unit */
                { 0 }
        };