]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sfdisk: correct --json --dump false exclusive
authorDimitri John Ledkov <xnox@ubuntu.com>
Wed, 4 Nov 2020 12:35:38 +0000 (12:35 +0000)
committerKarel Zak <kzak@redhat.com>
Fri, 13 Nov 2020 11:35:19 +0000 (12:35 +0100)
commit0b6bd5c12d28956400a7f7adb0a5444a8fcc53b5
tree168086dd838bfef15d0d459a6e4e7a44cf19b136
parent8f78db2aeaf77f7ee7594cdd69b0d0c4abafddba
sfdisk: correct --json --dump false exclusive

`--json` implies `--dump`, thus `--json --dump` must be
allowed. `--list-free` is incompatible with `--dump`, and thus also
with `--json`. Currently `--json --dump` is prohibited, even though
`--list-free` is not specified at all.

Regression introduced in 03154d2cf25c1d5ce908da9e72d324004b8d5722.

Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
disk-utils/sfdisk.c