diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-27 14:51:27 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-27 14:51:27 +0000 |
commit | 956a5693603be076a7a2b0bacc22eea4a3b93cbe (patch) | |
tree | c0554cf92ffc22ad9bfea1b36aa7fffc1dcc298e /include | |
parent | 0bb628f4f3fbd0fc0a96d257830fcbbb14db2bd1 (diff) | |
download | busybox-w32-956a5693603be076a7a2b0bacc22eea4a3b93cbe.tar.gz busybox-w32-956a5693603be076a7a2b0bacc22eea4a3b93cbe.tar.bz2 busybox-w32-956a5693603be076a7a2b0bacc22eea4a3b93cbe.zip |
losetup: with no arguments lists all /dev/loopN. Corrected help text.
(patch by Vladimir Dronnikov <dronnikov@gmail.ru>)
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 5 |
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( \ | |||
1623 | "\t-f\t\toutput data as the log grows" | 1623 | "\t-f\t\toutput data as the log grows" |
1624 | 1624 | ||
1625 | #define losetup_trivial_usage \ | 1625 | #define losetup_trivial_usage \ |
1626 | "[-od] LOOPDEVICE [FILE]" | 1626 | "[-o OFFSET] [-d] LOOPDEVICE [FILE]]" |
1627 | #define losetup_full_usage \ | 1627 | #define losetup_full_usage \ |
1628 | "Associate LOOPDEVICE with FILE, or display current association.\n\n" \ | 1628 | "(Dis)associate LOOPDEVICE with FILE, or display current associations.\n\n" \ |
1629 | "Options:\n" \ | 1629 | "Options:\n" \ |
1630 | "\t-d\t\tDisassociate LOOPDEVICE\n" \ | 1630 | "\t-d\t\tDisassociate LOOPDEVICE\n" \ |
1631 | "\t-o OFFSET\tStart OFFSET bytes into FILE" | 1631 | "\t-o OFFSET\tStart OFFSET bytes into FILE" |
1632 | #define losetup_notes_usage \ | 1632 | #define losetup_notes_usage \ |
1633 | "No arguments will display all current associations.\n" \ | ||
1633 | "One argument (losetup /dev/loop1) will display the current association\n" \ | 1634 | "One argument (losetup /dev/loop1) will display the current association\n" \ |
1634 | "(if any), or disassociate it (with -d). The display shows the offset\n" \ | 1635 | "(if any), or disassociate it (with -d). The display shows the offset\n" \ |
1635 | "and filename of the file the loop device is currently bound to.\n\n" \ | 1636 | "and filename of the file the loop device is currently bound to.\n\n" \ |