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>
This commit is contained in:
Pere Orga
2011-04-01 22:56:30 +02:00
committed by Denys Vlasenko
parent fa9126e689
commit 6a3e01d5a9
26 changed files with 418 additions and 400 deletions

View File

@@ -19,6 +19,30 @@
* 98/12/29 - Display version info only when -V specified (G M Sipe)
*/
//usage:#define chattr_trivial_usage
//usage: "[-R] [-+=AacDdijsStTu] [-v VERSION] [FILE]..."
//usage:#define chattr_full_usage "\n\n"
//usage: "Change file attributes on an ext2 fs\n"
//usage: "\nModifiers:"
//usage: "\n - Remove attributes"
//usage: "\n + Add attributes"
//usage: "\n = Set attributes"
//usage: "\nAttributes:"
//usage: "\n A Don't track atime"
//usage: "\n a Append mode only"
//usage: "\n c Enable compress"
//usage: "\n D Write dir contents synchronously"
//usage: "\n d Don't backup with dump"
//usage: "\n i Cannot be modified (immutable)"
//usage: "\n j Write all data to journal first"
//usage: "\n s Zero disk storage when deleted"
//usage: "\n S Write file contents synchronously"
//usage: "\n t Disable tail-merging of partial blocks with other files"
//usage: "\n u Allow file to be undeleted"
//usage: "\nOptions:"
//usage: "\n -R Recurse"
//usage: "\n -v Set the file's version/generation number"
#include "libbb.h"
#include "e2fs_lib.h"

View File

@@ -34,6 +34,20 @@
* It doesn't guess filesystem types from on-disk format.
*/
//usage:#define fsck_trivial_usage
//usage: "[-ANPRTV] [-C FD] [-t FSTYPE] [FS_OPTS] [BLOCKDEV]..."
//usage:#define fsck_full_usage "\n\n"
//usage: "Check and repair filesystems\n"
//usage: "\nOptions:"
//usage: "\n -A Walk /etc/fstab and check all filesystems"
//usage: "\n -N Don't execute, just show what would be done"
//usage: "\n -P With -A, check filesystems in parallel"
//usage: "\n -R With -A, skip the root filesystem"
//usage: "\n -T Don't show title on startup"
//usage: "\n -V Verbose"
//usage: "\n -C n Write status information to specified filedescriptor"
//usage: "\n -t TYPE List of filesystem types to check"
#include "libbb.h"
/* "progress indicator" code is somewhat buggy and ext[23] specific.

View File

@@ -18,6 +18,17 @@
* 98/12/29 - Display version info only when -V specified (G M Sipe)
*/
//usage:#define lsattr_trivial_usage
//usage: "[-Radlv] [FILE]..."
//usage:#define lsattr_full_usage "\n\n"
//usage: "List file attributes on an ext2 fs\n"
//usage: "\nOptions:"
//usage: "\n -R Recurse"
//usage: "\n -a Don't hide entries starting with ."
//usage: "\n -d List directory entries instead of contents"
//usage: "\n -l List long flag names"
//usage: "\n -v List the file's version/generation number"
#include "libbb.h"
#include "e2fs_lib.h"