diff options
author | Karel Zak | 2012-11-12 14:36:29 +0100 |
---|---|---|
committer | Karel Zak | 2012-11-12 14:36:29 +0100 |
commit | 65178cb3f24c02f902869a102cd0456aa917bb03 (patch) | |
tree | 31a172e322ffb6283cefd88af817a48bdef77d7f /sys-utils/losetup.c | |
parent | losetup: rename SIZE->SIZELIMIT (diff) | |
download | kernel-qcow2-util-linux-65178cb3f24c02f902869a102cd0456aa917bb03.tar.gz kernel-qcow2-util-linux-65178cb3f24c02f902869a102cd0456aa917bb03.tar.xz kernel-qcow2-util-linux-65178cb3f24c02f902869a102cd0456aa917bb03.zip |
losetup: allow to use -O without --list
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/losetup.c')
-rw-r--r-- | sys-utils/losetup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c index 79d0278b1..2765a38bc 100644 --- a/sys-utils/losetup.c +++ b/sys-utils/losetup.c @@ -438,6 +438,7 @@ int main(int argc, char **argv) static const ul_excl_t excl[] = { /* rows and cols in ASCII order */ { 'D','a','c','d','f','j' }, { 'D','c','d','f','l' }, + { 'D','c','d','f','O' }, { 0 } }; int excl_st[ARRAY_SIZE(excl)] = UL_EXCL_STATUS_INIT; @@ -500,6 +501,7 @@ int main(int argc, char **argv) break; case 'O': outarg = optarg; + list = 1; break; case 'p': warn(_("--pass-fd is no longer supported")); |