diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-27 14:51:27 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-27 14:51:27 +0000 |
commit | 57d5aa1bc80f12b1e6da099fba25a63bc8689b7b (patch) | |
tree | c0554cf92ffc22ad9bfea1b36aa7fffc1dcc298e /include/usage.h | |
parent | 562b7f61bb3da63466658e68249fa20973b883f0 (diff) | |
download | busybox-w32-57d5aa1bc80f12b1e6da099fba25a63bc8689b7b.tar.gz busybox-w32-57d5aa1bc80f12b1e6da099fba25a63bc8689b7b.tar.bz2 busybox-w32-57d5aa1bc80f12b1e6da099fba25a63bc8689b7b.zip |
losetup: with no arguments lists all /dev/loopN. Corrected help text.
(patch by Vladimir Dronnikov <dronnikov@gmail.ru>)
git-svn-id: svn://busybox.net/trunk/busybox@16236 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/usage.h')
-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" \ |