From: Karel Zak Date: Mon, 2 Sep 2019 11:10:44 +0000 (+0200) Subject: sfdisk: mark --dump and --list-free as mutually exclusive X-Git-Tag: v2.35-rc1~243 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eabcbfc44956ade48f431786439be623d9ee18d0;p=thirdparty%2Futil-linux.git sfdisk: mark --dump and --list-free as mutually exclusive Reported-by: Bertrand Jacquin Signed-off-by: Karel Zak --- diff --git a/disk-utils/sfdisk.c b/disk-utils/sfdisk.c index 2ceec71ba0..f55f88f5ce 100644 --- a/disk-utils/sfdisk.c +++ b/disk-utils/sfdisk.c @@ -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 } };