diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-01 22:56:30 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-03 01:33:55 +0200 |
commit | 6a3e01d5a9f979f7d6e52665c2bf6c74e2592980 (patch) | |
tree | b7d40d6e0c6042f0d102101ff7b5784d2f0536ba /e2fsprogs | |
parent | fa9126e68904b16aee2a0fc47688ffe17403152a (diff) | |
download | busybox-w32-6a3e01d5a9f979f7d6e52665c2bf6c74e2592980.tar.gz busybox-w32-6a3e01d5a9f979f7d6e52665c2bf6c74e2592980.tar.bz2 busybox-w32-6a3e01d5a9f979f7d6e52665c2bf6c74e2592980.zip |
move help text from include/usage.src.h to debianutils/*.c e2fsprogs/*.c editors/*.c loginutils/*.c mailutils/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs')
-rw-r--r-- | e2fsprogs/chattr.c | 24 | ||||
-rw-r--r-- | e2fsprogs/fsck.c | 14 | ||||
-rw-r--r-- | e2fsprogs/lsattr.c | 11 |
3 files changed, 49 insertions, 0 deletions
diff --git a/e2fsprogs/chattr.c b/e2fsprogs/chattr.c index ab52cb009..b1c77faad 100644 --- a/e2fsprogs/chattr.c +++ b/e2fsprogs/chattr.c | |||
@@ -19,6 +19,30 @@ | |||
19 | * 98/12/29 - Display version info only when -V specified (G M Sipe) | 19 | * 98/12/29 - Display version info only when -V specified (G M Sipe) |
20 | */ | 20 | */ |
21 | 21 | ||
22 | //usage:#define chattr_trivial_usage | ||
23 | //usage: "[-R] [-+=AacDdijsStTu] [-v VERSION] [FILE]..." | ||
24 | //usage:#define chattr_full_usage "\n\n" | ||
25 | //usage: "Change file attributes on an ext2 fs\n" | ||
26 | //usage: "\nModifiers:" | ||
27 | //usage: "\n - Remove attributes" | ||
28 | //usage: "\n + Add attributes" | ||
29 | //usage: "\n = Set attributes" | ||
30 | //usage: "\nAttributes:" | ||
31 | //usage: "\n A Don't track atime" | ||
32 | //usage: "\n a Append mode only" | ||
33 | //usage: "\n c Enable compress" | ||
34 | //usage: "\n D Write dir contents synchronously" | ||
35 | //usage: "\n d Don't backup with dump" | ||
36 | //usage: "\n i Cannot be modified (immutable)" | ||
37 | //usage: "\n j Write all data to journal first" | ||
38 | //usage: "\n s Zero disk storage when deleted" | ||
39 | //usage: "\n S Write file contents synchronously" | ||
40 | //usage: "\n t Disable tail-merging of partial blocks with other files" | ||
41 | //usage: "\n u Allow file to be undeleted" | ||
42 | //usage: "\nOptions:" | ||
43 | //usage: "\n -R Recurse" | ||
44 | //usage: "\n -v Set the file's version/generation number" | ||
45 | |||
22 | #include "libbb.h" | 46 | #include "libbb.h" |
23 | #include "e2fs_lib.h" | 47 | #include "e2fs_lib.h" |
24 | 48 | ||
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index a86a9d96f..b4257a2ad 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c | |||
@@ -34,6 +34,20 @@ | |||
34 | * It doesn't guess filesystem types from on-disk format. | 34 | * It doesn't guess filesystem types from on-disk format. |
35 | */ | 35 | */ |
36 | 36 | ||
37 | //usage:#define fsck_trivial_usage | ||
38 | //usage: "[-ANPRTV] [-C FD] [-t FSTYPE] [FS_OPTS] [BLOCKDEV]..." | ||
39 | //usage:#define fsck_full_usage "\n\n" | ||
40 | //usage: "Check and repair filesystems\n" | ||
41 | //usage: "\nOptions:" | ||
42 | //usage: "\n -A Walk /etc/fstab and check all filesystems" | ||
43 | //usage: "\n -N Don't execute, just show what would be done" | ||
44 | //usage: "\n -P With -A, check filesystems in parallel" | ||
45 | //usage: "\n -R With -A, skip the root filesystem" | ||
46 | //usage: "\n -T Don't show title on startup" | ||
47 | //usage: "\n -V Verbose" | ||
48 | //usage: "\n -C n Write status information to specified filedescriptor" | ||
49 | //usage: "\n -t TYPE List of filesystem types to check" | ||
50 | |||
37 | #include "libbb.h" | 51 | #include "libbb.h" |
38 | 52 | ||
39 | /* "progress indicator" code is somewhat buggy and ext[23] specific. | 53 | /* "progress indicator" code is somewhat buggy and ext[23] specific. |
diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c index 7d475a969..964e8d026 100644 --- a/e2fsprogs/lsattr.c +++ b/e2fsprogs/lsattr.c | |||
@@ -18,6 +18,17 @@ | |||
18 | * 98/12/29 - Display version info only when -V specified (G M Sipe) | 18 | * 98/12/29 - Display version info only when -V specified (G M Sipe) |
19 | */ | 19 | */ |
20 | 20 | ||
21 | //usage:#define lsattr_trivial_usage | ||
22 | //usage: "[-Radlv] [FILE]..." | ||
23 | //usage:#define lsattr_full_usage "\n\n" | ||
24 | //usage: "List file attributes on an ext2 fs\n" | ||
25 | //usage: "\nOptions:" | ||
26 | //usage: "\n -R Recurse" | ||
27 | //usage: "\n -a Don't hide entries starting with ." | ||
28 | //usage: "\n -d List directory entries instead of contents" | ||
29 | //usage: "\n -l List long flag names" | ||
30 | //usage: "\n -v List the file's version/generation number" | ||
31 | |||
21 | #include "libbb.h" | 32 | #include "libbb.h" |
22 | #include "e2fs_lib.h" | 33 | #include "e2fs_lib.h" |
23 | 34 | ||