]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
losetup: tiny change to usage()
authorKarel Zak <kzak@redhat.com>
Thu, 3 Apr 2014 08:41:04 +0000 (10:41 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 3 Apr 2014 10:29:20 +0000 (12:29 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/losetup.8
sys-utils/losetup.c

index 35713bcca6646003ed34930327450ea3418cf8f0..72990aaaf5f5837ff813d9dc10f3c4bcaa55ccfa 100644 (file)
@@ -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
index 44e190af5a777b2a4c8f67674a8444aef97d843e..58d3e08a4caa897d5dd57deaa77f969ef0b4b8d4 100644 (file)
@@ -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);