aboutsummaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-27 14:51:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-27 14:51:27 +0000
commit956a5693603be076a7a2b0bacc22eea4a3b93cbe (patch)
treec0554cf92ffc22ad9bfea1b36aa7fffc1dcc298e /include/usage.h
parent0bb628f4f3fbd0fc0a96d257830fcbbb14db2bd1 (diff)
downloadbusybox-956a5693603be076a7a2b0bacc22eea4a3b93cbe.tar.gz
losetup: with no arguments lists all /dev/loopN. Corrected help text.
(patch by Vladimir Dronnikov <dronnikov@gmail.ru>)
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index 8b8d64e84..36739c712 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1623,13 +1623,14 @@ USE_FEATURE_DATE_ISOFMT( \
"\t-f\t\toutput data as the log grows"
#define losetup_trivial_usage \
- "[-od] LOOPDEVICE [FILE]"
+ "[-o OFFSET] [-d] LOOPDEVICE [FILE]]"
#define losetup_full_usage \
- "Associate LOOPDEVICE with FILE, or display current association.\n\n" \
+ "(Dis)associate LOOPDEVICE with FILE, or display current associations.\n\n" \
"Options:\n" \
"\t-d\t\tDisassociate LOOPDEVICE\n" \
"\t-o OFFSET\tStart OFFSET bytes into FILE"
#define losetup_notes_usage \
+ "No arguments will display all current associations.\n" \
"One argument (losetup /dev/loop1) will display the current association\n" \
"(if any), or disassociate it (with -d). The display shows the offset\n" \
"and filename of the file the loop device is currently bound to.\n\n" \