]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
sfdisk: mark --dump and --list-free as mutually exclusive
authorKarel Zak <kzak@redhat.com>
Mon, 2 Sep 2019 11:10:44 +0000 (13:10 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Sep 2019 11:10:44 +0000 (13:10 +0200)
Reported-by: Bertrand Jacquin <bertrand@jacquin.bzh>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/sfdisk.c

index 2ceec71ba0e15a76d56fff7bdcfdd907d3d70e4c..f55f88f5ceb26e7a8255e11ee3195e0588ce2fd4 100644 (file)
@@ -1986,6 +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 */
                { 's','u'},                     /* --show-size --unit */
                { 0 }
        };