diff options
author | Karel Zak | 2014-04-03 10:41:04 +0200 |
---|---|---|
committer | Karel Zak | 2014-04-03 12:29:20 +0200 |
commit | 145766440ad10c08dc6e751e2b9fa738e9ef39fd (patch) | |
tree | 2fcae4cbd1981b16389d0d0411b47b5eac23dc6e /sys-utils | |
parent | losetup: clean up scols usage (diff) | |
download | kernel-qcow2-util-linux-145766440ad10c08dc6e751e2b9fa738e9ef39fd.tar.gz kernel-qcow2-util-linux-145766440ad10c08dc6e751e2b9fa738e9ef39fd.tar.xz kernel-qcow2-util-linux-145766440ad10c08dc6e751e2b9fa738e9ef39fd.zip |
losetup: tiny change to usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils')
-rw-r--r-- | sys-utils/losetup.8 | 5 | ||||
-rw-r--r-- | sys-utils/losetup.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys-utils/losetup.8 b/sys-utils/losetup.8 index 35713bcca..72990aaaf 100644 --- a/sys-utils/losetup.8 +++ b/sys-utils/losetup.8 @@ -63,10 +63,11 @@ Resize loop device: is used to associate loop devices with regular files or block devices, to detach loop devices and to query the status of a loop device. If only the \fIloopdev\fP argument is given, the status of the corresponding loop -device is shown. +device is shown. If no option is given, all loop devices are shown. Note that the old output format (e.g. losetup -a) with comma delimited strings is -deprecated in favour of the --list output format (e.g. losetup -a -l). +deprecated in favour of the --list output format. + .SH OPTIONS +The \fIsize\fR and \fIoffset\fR arguments may be followed by the multiplicative +suffixes KiB=1024, MiB=1024*1024, and so on for GiB, TiB, PiB, EiB, ZiB and YiB diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c index 44e190af5..58d3e08a4 100644 --- a/sys-utils/losetup.c +++ b/sys-utils/losetup.c @@ -389,7 +389,7 @@ static void usage(FILE *out) fputs(USAGE_SEPARATOR, out); - fputs(_(" -l, --list list info about all or specified\n"), out); + fputs(_(" -l, --list list info about all or specified (default)\n"), out); fputs(_(" -O, --output <cols> specify columns to output for --list\n"), out); fputs(_(" -n, --noheadings don't print headings for --list output\n"), out); fputs(_(" --raw use raw --list output format\n"), out); |