diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-11 03:29:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-11 03:29:49 +0200 |
commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /miscutils/mountpoint.c | |
parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
download | busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2 busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip |
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 'miscutils/mountpoint.c')
-rw-r--r-- | miscutils/mountpoint.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/miscutils/mountpoint.c b/miscutils/mountpoint.c index 784c3cbfc..a1a5b396a 100644 --- a/miscutils/mountpoint.c +++ b/miscutils/mountpoint.c | |||
@@ -9,6 +9,22 @@ | |||
9 | * Based on sysvinit's mountpoint | 9 | * Based on sysvinit's mountpoint |
10 | */ | 10 | */ |
11 | 11 | ||
12 | //usage:#define mountpoint_trivial_usage | ||
13 | //usage: "[-q] <[-dn] DIR | -x DEVICE>" | ||
14 | //usage:#define mountpoint_full_usage "\n\n" | ||
15 | //usage: "Check if the directory is a mountpoint\n" | ||
16 | //usage: "\nOptions:" | ||
17 | //usage: "\n -q Quiet" | ||
18 | //usage: "\n -d Print major/minor device number of the filesystem" | ||
19 | //usage: "\n -n Print device name of the filesystem" | ||
20 | //usage: "\n -x Print major/minor device number of the blockdevice" | ||
21 | //usage: | ||
22 | //usage:#define mountpoint_example_usage | ||
23 | //usage: "$ mountpoint /proc\n" | ||
24 | //usage: "/proc is not a mountpoint\n" | ||
25 | //usage: "$ mountpoint /sys\n" | ||
26 | //usage: "/sys is a mountpoint\n" | ||
27 | |||
12 | #include "libbb.h" | 28 | #include "libbb.h" |
13 | 29 | ||
14 | int mountpoint_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 30 | int mountpoint_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |