diff options
author | Pere Orga | 2011-04-11 03:29:49 +0200 |
---|---|---|
committer | Denys Vlasenko | 2011-04-11 03:29:49 +0200 |
commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /util-linux/losetup.c | |
parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
download | busybox-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip busybox-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz |
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/losetup.c')
-rw-r--r-- | util-linux/losetup.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/util-linux/losetup.c b/util-linux/losetup.c index 776f784..7e11e29 100644 --- a/util-linux/losetup.c +++ b/util-linux/losetup.c @@ -7,6 +7,24 @@ * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ +//usage:#define losetup_trivial_usage +//usage: "[-o OFS] LOOPDEV FILE - associate loop devices\n" +//usage: " losetup -d LOOPDEV - disassociate\n" +//usage: " losetup [-f] - show" +//usage:#define losetup_full_usage "\n\n" +//usage: "Options:" +//usage: "\n -o OFS Start OFS bytes into FILE" +//usage: "\n -f Show first free loop device" +//usage: +//usage:#define losetup_notes_usage +//usage: "No arguments will display all current associations.\n" +//usage: "One argument (losetup /dev/loop1) will display the current association\n" +//usage: "(if any), or disassociate it (with -d). The display shows the offset\n" +//usage: "and filename of the file the loop device is currently bound to.\n\n" +//usage: "Two arguments (losetup /dev/loop1 file.img) create a new association,\n" +//usage: "with an optional offset (-o 12345). Encryption is not yet supported.\n" +//usage: "losetup -f will show the first loop free loop device\n\n" + #include "libbb.h" int losetup_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |