//usage: "[-o] [-v] [-p] [-t] [-x] ARCHIVE FILES"
//usage:#define ar_full_usage "\n\n"
//usage: "Extract or list FILES from an ar archive\n"
-//usage: "\nOptions:"
//usage: "\n -o Preserve original dates"
//usage: "\n -p Extract to stdout"
//usage: "\n -t List"
//usage: "[-cf] [FILE]..."
//usage:#define uncompress_full_usage "\n\n"
//usage: "Decompress .Z file[s]\n"
-//usage: "\nOptions:"
//usage: "\n -c Write to stdout"
//usage: "\n -f Overwrite"
//usage: "[-cft] [FILE]..."
//usage:#define gunzip_full_usage "\n\n"
//usage: "Decompress FILEs (or stdin)\n"
-//usage: "\nOptions:"
//usage: "\n -c Write to stdout"
//usage: "\n -f Force"
//usage: "\n -t Test file integrity"
//usage: "[-cf] [FILE]..."
//usage:#define bunzip2_full_usage "\n\n"
//usage: "Decompress FILEs (or stdin)\n"
-//usage: "\nOptions:"
//usage: "\n -c Write to stdout"
//usage: "\n -f Force"
//usage:#define bzcat_trivial_usage
//usage: "[-cf] [FILE]..."
//usage:#define unlzma_full_usage "\n\n"
//usage: "Decompress FILE (or stdin)\n"
-//usage: "\nOptions:"
//usage: "\n -c Write to stdout"
//usage: "\n -f Force"
//usage:
//usage: "-d [-cf] [FILE]..."
//usage:#define lzma_full_usage "\n\n"
//usage: "Decompress FILE (or stdin)\n"
-//usage: "\nOptions:"
//usage: "\n -d Decompress"
//usage: "\n -c Write to stdout"
//usage: "\n -f Force"
//usage: "[-cf] [FILE]..."
//usage:#define unxz_full_usage "\n\n"
//usage: "Decompress FILE (or stdin)\n"
-//usage: "\nOptions:"
//usage: "\n -c Write to stdout"
//usage: "\n -f Force"
//usage:
//usage: "-d [-cf] [FILE]..."
//usage:#define xz_full_usage "\n\n"
//usage: "Decompress FILE (or stdin)\n"
-//usage: "\nOptions:"
//usage: "\n -d Decompress"
//usage: "\n -c Write to stdout"
//usage: "\n -f Force"
//usage: "[OPTIONS] [FILE]..."
//usage:#define bzip2_full_usage "\n\n"
//usage: "Compress FILEs (or stdin) with bzip2 algorithm\n"
-//usage: "\nOptions:"
//usage: "\n -1..9 Compression level"
//usage: "\n -d Decompress"
//usage: "\n -c Write to stdout"
//usage: IF_FEATURE_CPIO_P(
//usage: "\n -p DIR Copy files to DIR"
//usage: )
-//usage: "\nOptions:"
//usage: "\n -d Make leading directories"
//usage: "\n -m Preserve mtime"
//usage: "\n -v Verbose"
//usage: "[-ilCPru] [-F OPT] PACKAGE"
//usage:#define dpkg_full_usage "\n\n"
//usage: "Install, remove and manage Debian packages\n"
-//usage: "\nOptions:"
//usage: IF_LONG_OPTS(
//usage: "\n -i,--install Install the package"
//usage: "\n -l,--list List of installed packages"
//usage: "[-cefxX] FILE [argument"
//usage:#define dpkg_deb_full_usage "\n\n"
//usage: "Perform actions on Debian packages (.debs)\n"
-//usage: "\nOptions:"
//usage: "\n -c List contents of filesystem tree"
//usage: "\n -e Extract control files to [argument] directory"
//usage: "\n -f Display control field name starting with [argument]"
//usage: "[-cfd] [FILE]..."
//usage:#define gzip_full_usage "\n\n"
//usage: "Compress FILEs (or stdin)\n"
-//usage: "\nOptions:"
//usage: "\n -d Decompress"
//usage: "\n -c Write to stdout"
//usage: "\n -f Force"
//usage:#define lzop_trivial_usage
//usage: "[-cfvd123456789CF] [FILE]..."
//usage:#define lzop_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -1..9 Compression level"
+//usage: " -1..9 Compression level"
//usage: "\n -d Decompress"
//usage: "\n -c Write to stdout"
//usage: "\n -f Force"
//usage:#define unlzop_trivial_usage
//usage: "[-cfvCF] [FILE]..."
//usage:#define unlzop_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -c Write to stdout"
+//usage: " -c Write to stdout"
//usage: "\n -f Force"
//usage: "\n -v Verbose"
//usage: "\n -F Don't store or verify checksum"
//usage: "\nCommands:"
//usage: "\n -i Install package"
//usage: "\n -qp Query package"
-//usage: "\nOptions:"
//usage: "\n -i Show information"
//usage: "\n -l List contents"
//usage: "\n -d List documents"
//usage: )
//usage: "\n x Extract"
//usage: "\n t List"
-//usage: "\nOptions:"
//usage: "\n f Name of TARFILE ('-' for stdin/out)"
//usage: "\n C Change to DIR before operation"
//usage: "\n v Verbose"
//usage: "[-opts[modifiers]] FILE[.zip] [LIST] [-x XLIST] [-d DIR]"
//usage:#define unzip_full_usage "\n\n"
//usage: "Extract files from ZIP archives\n"
-//usage: "\nOptions:"
//usage: "\n -l List archive contents (with -q for short form)"
//usage: "\n -n Never overwrite files (default)"
//usage: "\n -o Overwrite"
//usage: "[-a|k|s|u] [-C TTY]"
//usage:#define kbd_mode_full_usage "\n\n"
//usage: "Report or set the keyboard mode\n"
-//usage: "\nOptions:"
//usage: "\n -a Default (ASCII)"
//usage: "\n -k Medium-raw (keyboard)"
//usage: "\n -s Raw (scancode)"
//usage: "FONT [-m MAPFILE] [-C TTY]"
//usage:#define setfont_full_usage "\n\n"
//usage: "Load a console font\n"
-//usage: "\nOptions:"
//usage: "\n -m MAPFILE Load console screen map"
//usage: "\n -C TTY Affect TTY instead of /dev/tty"
//usage:
//usage: "[-c N] [-sw] [PROG ARGS]"
//usage:#define openvt_full_usage "\n\n"
//usage: "Start PROG on a new virtual terminal\n"
-//usage: "\nOptions:"
//usage: "\n -c N Use specified VT"
//usage: "\n -s Switch to the VT"
/* //usage: "\n -l Run PROG as login shell (by prepending '-')" */
//usage: "[-r" IF_FEATURE_SETCONSOLE_LONG_OPTIONS("|--reset") "] [DEVICE]"
//usage:#define setconsole_full_usage "\n\n"
//usage: "Redirect system console output to DEVICE (default: /dev/tty)\n"
-//usage: "\nOptions:"
//usage: "\n -r Reset output to /dev/console"
#include "libbb.h"
//usage: "[-a | -k | -s]"
//usage:#define showkey_full_usage "\n\n"
//usage: "Show keys pressed\n"
-//usage: "\nOptions:"
//usage: "\n -a Display decimal/octal/hex values of the keys"
//usage: "\n -k Display interpreted keycodes (default)"
//usage: "\n -s Display raw scan-codes"
//usage: "[-jy] [[MONTH] YEAR]"
//usage:#define cal_full_usage "\n\n"
//usage: "Display a calendar\n"
-//usage: "\nOptions:"
//usage: "\n -j Use julian dates"
//usage: "\n -y Display the entire year"
//usage: "[-etv] [FILE]..."
//usage:#define catv_full_usage "\n\n"
//usage: "Display nonprinting characters as ^x or M-x\n"
-//usage: "\nOptions:"
//usage: "\n -e End each line with $"
//usage: "\n -t Show tabs as ^I"
//usage: "\n -v Don't use ^x or M-x escapes"
//usage: "[-RhLHP"IF_DESKTOP("cvf")"]... GROUP FILE..."
//usage:#define chgrp_full_usage "\n\n"
//usage: "Change the group membership of each FILE to GROUP\n"
-//usage: "\nOptions:"
//usage: "\n -R Recurse"
//usage: "\n -h Affect symlinks instead of symlink targets"
//usage: "\n -L Traverse all symlinks to directories"
//usage:#define chmod_full_usage "\n\n"
//usage: "Each MODE is one or more of the letters ugoa, one of the\n"
//usage: "symbols +-= and one or more of the letters rwxst\n"
-//usage: "\nOptions:"
//usage: "\n -R Recurse"
//usage: IF_DESKTOP(
//usage: "\n -c List changed files"
//usage: "[-RhLHP"IF_DESKTOP("cvf")"]... OWNER[<.|:>[GROUP]] FILE..."
//usage:#define chown_full_usage "\n\n"
//usage: "Change the owner and/or group of each FILE to OWNER and/or GROUP\n"
-//usage: "\nOptions:"
//usage: "\n -R Recurse"
//usage: "\n -h Affect symlinks instead of symlink targets"
//usage: "\n -L Traverse all symlinks to directories"
//usage: "[-123] FILE1 FILE2"
//usage:#define comm_full_usage "\n\n"
//usage: "Compare FILE1 with FILE2\n"
-//usage: "\nOptions:"
//usage: "\n -1 Suppress lines unique to FILE1"
//usage: "\n -2 Suppress lines unique to FILE2"
//usage: "\n -3 Suppress lines common to both files"
//usage: "[OPTIONS] SOURCE DEST"
//usage:#define cp_full_usage "\n\n"
//usage: "Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY\n"
-//usage: "\nOptions:"
//usage: "\n -a Same as -dpR"
//usage: IF_SELINUX(
//usage: "\n -c Preserve security context"
//usage: "[OPTIONS] [FILE]..."
//usage:#define cut_full_usage "\n\n"
//usage: "Print selected fields from each input FILE to stdout\n"
-//usage: "\nOptions:"
//usage: "\n -b LIST Output only bytes from LIST"
//usage: "\n -c LIST Output only characters from LIST"
//usage: "\n -d CHAR Use CHAR instead of tab as the field delimiter"
//usage: "[OPTIONS] [+FMT] [TIME]"
//usage:#define date_full_usage "\n\n"
//usage: "Display time (using +FMT), or set time\n"
-//usage: "\nOptions:"
//usage: IF_NOT_LONG_OPTS(
//usage: "\n [-s] TIME Set time to TIME"
//usage: "\n -u Work in UTC (don't convert to local time)"
//usage: " [seek=N]" IF_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync|fsync]")
//usage:#define dd_full_usage "\n\n"
//usage: "Copy a file with converting and formatting\n"
-//usage: "\nOptions:"
//usage: "\n if=FILE Read from FILE instead of stdin"
//usage: "\n of=FILE Write to FILE instead of stdout"
//usage: "\n bs=N Read and write N bytes at a time"
//usage: "] [FILESYSTEM]..."
//usage:#define df_full_usage "\n\n"
//usage: "Print filesystem usage statistics\n"
-//usage: "\nOptions:"
//usage: "\n -P POSIX output format"
//usage: "\n -k 1024-byte blocks (default)"
//usage: IF_FEATURE_HUMAN_READABLE(
//usage:#define dos2unix_full_usage "\n\n"
//usage: "Convert FILE in-place from DOS to Unix format.\n"
//usage: "When no file is given, use stdin/stdout.\n"
-//usage: "\nOptions:"
//usage: "\n -u dos2unix"
//usage: "\n -d unix2dos"
//usage:
//usage:#define unix2dos_full_usage "\n\n"
//usage: "Convert FILE in-place from Unix to DOS format.\n"
//usage: "When no file is given, use stdin/stdout.\n"
-//usage: "\nOptions:"
//usage: "\n -u dos2unix"
//usage: "\n -d unix2dos"
//usage: IF_FEATURE_DU_DEFAULT_BLOCKSIZE_1K("1024")
//usage: IF_NOT_FEATURE_DU_DEFAULT_BLOCKSIZE_1K("512")
//usage: " bytes.\n"
-//usage: "\nOptions:"
//usage: "\n -a Show file sizes too"
//usage: "\n -L Follow all symlinks"
//usage: "\n -H Follow symlinks on command line"
//usage:#define echo_full_usage "\n\n"
//usage: "Print the specified ARGs to stdout"
//usage: IF_FEATURE_FANCY_ECHO( "\n"
-//usage: "\nOptions:"
//usage: "\n -n Suppress trailing newline"
//usage: "\n -e Interpret backslash escapes (i.e., \\t=tab)"
//usage: "\n -E Don't interpret backslash escapes (default)"
//usage:#define env_full_usage "\n\n"
//usage: "Print the current environment or run PROG after setting up\n"
//usage: "the specified environment\n"
-//usage: "\nOptions:"
//usage: "\n -, -i Start with an empty environment"
//usage: "\n -u Remove variable from the environment"
//usage: "[-i] [-t N] [FILE]..."
//usage:#define expand_full_usage "\n\n"
//usage: "Convert tabs to spaces, writing to stdout\n"
-//usage: "\nOptions:"
//usage: IF_FEATURE_EXPAND_LONG_OPTIONS(
//usage: "\n -i,--initial Don't convert tabs after non blanks"
//usage: "\n -t,--tabs=N Tabstops every N chars"
//usage: "[-fa][-t N] [FILE]..."
//usage:#define unexpand_full_usage "\n\n"
//usage: "Convert spaces to tabs, writing to stdout\n"
-//usage: "\nOptions:"
//usage: IF_FEATURE_UNEXPAND_LONG_OPTIONS(
//usage: "\n -a,--all Convert all blanks"
//usage: "\n -f,--first-only Convert only leading blanks"
//usage: "[-bs] [-w WIDTH] [FILE]..."
//usage:#define fold_full_usage "\n\n"
//usage: "Wrap input lines in each FILE (or stdin), writing to stdout\n"
-//usage: "\nOptions:"
//usage: "\n -b Count bytes rather than columns"
//usage: "\n -s Break at spaces"
//usage: "\n -w Use WIDTH columns instead of 80"
//usage: "[-d] FILE..."
//usage:#define fsync_full_usage "\n\n"
//usage: "Write files' buffered blocks to disk\n"
-//usage: "\nOptions:"
//usage: "\n -d Avoid syncing metadata"
#include "libbb.h"
//usage:#define head_full_usage "\n\n"
//usage: "Print first 10 lines of each FILE (or stdin) to stdout.\n"
//usage: "With more than one FILE, precede each with a filename header.\n"
-//usage: "\nOptions:"
//usage: "\n -n N[kbm] Print first N lines"
//usage: IF_FEATURE_FANCY_HEAD(
//usage: "\n -c N[kbm] Print first N bytes"
//usage: "[OPTIONS] [USER]"
//usage:#define id_full_usage "\n\n"
//usage: "Print information about USER or the current user\n"
-//usage: "\nOptions:"
//usage: IF_SELINUX(
//usage: "\n -Z Security context"
//usage: )
//usage: "[-cdDsp] [-o USER] [-g GRP] [-m MODE] [SOURCE]... DEST"
//usage:#define install_full_usage "\n\n"
//usage: "Copy files and set attributes\n"
-//usage: "\nOptions:"
//usage: "\n -c Just copy (default)"
//usage: "\n -d Create directories"
//usage: "\n -D Create leading target directories"
//usage: "[OPTIONS] TARGET... LINK|DIR"
//usage:#define ln_full_usage "\n\n"
//usage: "Create a link LINK or DIR/TARGET to the specified TARGET(s)\n"
-//usage: "\nOptions:"
//usage: "\n -s Make symlinks instead of hardlinks"
//usage: "\n -f Remove existing destinations"
//usage: "\n -n Don't dereference symlinks - treat like normal file"
//usage: IF_FEATURE_AUTOWIDTH(" [-w WIDTH]") " [FILE]..."
//usage:#define ls_full_usage "\n\n"
//usage: "List directory contents\n"
-//usage: "\nOptions:"
//usage: "\n -1 One column output"
//usage: "\n -a Include entries which start with ."
//usage: "\n -A Like -a, but exclude . and .."
//usage:#define md5sum_full_usage "\n\n"
//usage: "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " MD5 checksums"
//usage: IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n"
-//usage: "\nOptions:"
//usage: "\n -c Check sums against given list"
//usage: "\n -s Don't output anything, status code shows success"
//usage: "\n -w Warn about improperly formatted checksum lines"
//usage:#define sha1sum_full_usage "\n\n"
//usage: "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA1 checksums"
//usage: IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n"
-//usage: "\nOptions:"
//usage: "\n -c Check sums against given list"
//usage: "\n -s Don't output anything, status code shows success"
//usage: "\n -w Warn about improperly formatted checksum lines"
//usage:#define sha256sum_full_usage "\n\n"
//usage: "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA256 checksums"
//usage: IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n"
-//usage: "\nOptions:"
//usage: "\n -c Check sums against given list"
//usage: "\n -s Don't output anything, status code shows success"
//usage: "\n -w Warn about improperly formatted checksum lines"
//usage:#define sha512sum_full_usage "\n\n"
//usage: "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA512 checksums"
//usage: IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n"
-//usage: "\nOptions:"
//usage: "\n -c Check sums against given list"
//usage: "\n -s Don't output anything, status code shows success"
//usage: "\n -w Warn about improperly formatted checksum lines"
//usage: "[OPTIONS] DIRECTORY..."
//usage:#define mkdir_full_usage "\n\n"
//usage: "Create DIRECTORY\n"
-//usage: "\nOptions:"
//usage: "\n -m MODE Mode"
//usage: "\n -p No error if exists; make parent directories as needed"
//usage: IF_SELINUX(
//usage: "[-m MODE] " IF_SELINUX("[-Z] ") "NAME"
//usage:#define mkfifo_full_usage "\n\n"
//usage: "Create named pipe\n"
-//usage: "\nOptions:"
//usage: "\n -m MODE Mode (default a=rw)"
//usage: IF_SELINUX(
//usage: "\n -Z Set security context"
//usage: "[-m MODE] " IF_SELINUX("[-Z] ") "NAME TYPE MAJOR MINOR"
//usage:#define mknod_full_usage "\n\n"
//usage: "Create a special file (block, character, or pipe)\n"
-//usage: "\nOptions:"
//usage: "\n -m MODE Creation mode (default a=rw)"
//usage: IF_SELINUX(
//usage: "\n -Z Set security context"
//usage: "or: mv [-fin] SOURCE... DIRECTORY"
//usage:#define mv_full_usage "\n\n"
//usage: "Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY\n"
-//usage: "\nOptions:"
//usage: "\n -f Don't prompt before overwriting"
//usage: "\n -i Interactive, prompt before overwrite"
//usage: "\n -n Don't overwrite an existing file"
//usage: "[-n ADJUST] [PROG ARGS]"
//usage:#define nice_full_usage "\n\n"
//usage: "Change scheduling priority, run PROG\n"
-//usage: "\nOptions:"
//usage: "\n -n ADJUST Adjust priority by ADJUST"
#include <sys/resource.h>
//usage:#define readlink_full_usage "\n\n"
//usage: "Display the value of a symlink"
//usage: IF_FEATURE_READLINK_FOLLOW( "\n"
-//usage: "\nOptions:"
//usage: "\n -f Canonicalize by following all symlinks"
//usage: "\n -n Don't add newline"
//usage: "\n -v Verbose"
//usage: "[-irf] FILE..."
//usage:#define rm_full_usage "\n\n"
//usage: "Remove (unlink) FILEs\n"
-//usage: "\nOptions:"
//usage: "\n -i Always prompt before removing"
//usage: "\n -f Never prompt"
//usage: "\n -R,-r Recurse"
//usage: "[OPTIONS] DIRECTORY..."
//usage:#define rmdir_full_usage "\n\n"
//usage: "Remove DIRECTORY if it is empty\n"
-//usage: "\nOptions:"
//usage: IF_FEATURE_RMDIR_LONG_OPTIONS(
//usage: "\n -p|--parents Include parents"
//usage: "\n --ignore-fail-on-non-empty"
//usage:#define seq_full_usage "\n\n"
//usage: "Print numbers from FIRST to LAST, in steps of INC.\n"
//usage: "FIRST, INC default to 1.\n"
-//usage: "\nOptions:"
//usage: "\n -w Pad to last with leading zeros"
//usage: "\n -s SEP String separator"
//usage: "] [FILE]..."
//usage:#define sort_full_usage "\n\n"
//usage: "Sort lines of text\n"
-//usage: "\nOptions:"
//usage: IF_FEATURE_SORT_BIG(
//usage: "\n -b Ignore leading blanks"
//usage: "\n -c Check whether input is sorted"
//usage:#define split_trivial_usage
//usage: "[OPTIONS] [INPUT [PREFIX]]"
//usage:#define split_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -b N[k|m] Split by N (kilo|mega)bytes"
+//usage: " -b N[k|m] Split by N (kilo|mega)bytes"
//usage: "\n -l N Split by N lines"
//usage: "\n -a N Use N letters as suffix"
//usage:
//usage: "[OPTIONS] FILE..."
//usage:#define stat_full_usage "\n\n"
//usage: "Display file (default) or filesystem status\n"
-//usage: "\nOptions:"
//usage: IF_FEATURE_STAT_FORMAT(
//usage: "\n -c fmt Use the specified format"
//usage: )
//usage:#define stty_full_usage "\n\n"
//usage: "Without arguments, prints baud rate, line discipline,\n"
//usage: "and deviations from stty sane\n"
-//usage: "\nOptions:"
//usage: "\n -F DEVICE Open device instead of stdin"
//usage: "\n -a Print all current settings in human-readable form"
//usage: "\n -g Print in stty-readable form"
//usage: "[-rs] [FILE]..."
//usage:#define sum_full_usage "\n\n"
//usage: "Checksum and count the blocks in a file\n"
-//usage: "\nOptions:"
//usage: "\n -r Use BSD sum algorithm (1K blocks)"
//usage: "\n -s Use System V sum algorithm (512byte blocks)"
//usage:#define tail_full_usage "\n\n"
//usage: "Print last 10 lines of each FILE (or stdin) to stdout.\n"
//usage: "With more than one FILE, precede each with a filename header.\n"
-//usage: "\nOptions:"
//usage: "\n -f Print data as file grows"
//usage: IF_FEATURE_FANCY_TAIL(
//usage: "\n -s SECONDS Wait SECONDS between reads with -f"
//usage: "[-ai] [FILE]..."
//usage:#define tee_full_usage "\n\n"
//usage: "Copy stdin to each FILE, and also to stdout\n"
-//usage: "\nOptions:"
//usage: "\n -a Append to the given FILEs, don't overwrite"
//usage: "\n -i Ignore interrupt signals (SIGINT)"
//usage:
//usage: "[-c]" IF_DESKTOP(" [-d DATE] [-r FILE]") " FILE [FILE]..."
//usage:#define touch_full_usage "\n\n"
//usage: "Update the last-modified date on the given FILE[s]\n"
-//usage: "\nOptions:"
//usage: "\n -c Don't create files"
//usage: IF_DESKTOP(
//usage: "\n -d DT Date/time to use"
//usage: "[-cds] STRING1 [STRING2]"
//usage:#define tr_full_usage "\n\n"
//usage: "Translate, squeeze, or delete characters from stdin, writing to stdout\n"
-//usage: "\nOptions:"
//usage: "\n -c Take complement of STRING1"
//usage: "\n -d Delete input characters coded STRING1"
//usage: "\n -s Squeeze multiple output characters of STRING2 into one character"
//usage:#define tty_full_usage "\n\n"
//usage: "Print file name of stdin's terminal"
//usage: IF_INCLUDE_SUSv2( "\n"
-//usage: "\nOptions:"
//usage: "\n -s Print nothing, only return exit status"
//usage: )
//usage:
//usage: "[-amnrspv]"
//usage:#define uname_full_usage "\n\n"
//usage: "Print system information\n"
-//usage: "\nOptions:"
//usage: "\n -a Print all"
//usage: "\n -m The machine (hardware) type"
//usage: "\n -n Hostname"
//usage: "[-cdu][-f,s,w N] [INPUT [OUTPUT]]"
//usage:#define uniq_full_usage "\n\n"
//usage: "Discard duplicate lines\n"
-//usage: "\nOptions:"
//usage: "\n -c Prefix lines by the number of occurrences"
//usage: "\n -d Only print duplicate lines"
//usage: "\n -u Only print unique lines"
//usage: "[-d] [FILE]"
//usage:#define base64_full_usage "\n\n"
//usage: "Base64 encode or decode FILE to standard output"
-//usage: "\nOptions:"
//usage: "\n -d Decode data"
////usage: "\n -w COL Wrap lines at COL (default 76, 0 disables)"
////usage: "\n -i When decoding, ignore non-alphabet characters"
//usage: "[-m] [INFILE] STORED_FILENAME"
//usage:#define uuencode_full_usage "\n\n"
//usage: "Uuencode a file to stdout\n"
-//usage: "\nOptions:"
//usage: "\n -m Use base64 encoding per RFC1521"
//usage:
//usage:#define uuencode_example_usage
//usage:
//usage:#define wc_full_usage "\n\n"
//usage: "Count lines, words, and bytes for each FILE (or stdin)\n"
-//usage: "\nOptions:"
//usage: "\n -c Count bytes"
//usage: IF_UNICODE_SUPPORT(
//usage: "\n -m Count characters"
//usage: "[-a]"
//usage:#define who_full_usage "\n\n"
//usage: "Show who is logged on\n"
-//usage: "\nOptions:"
//usage: "\n -a Show all"
#include "libbb.h"
//usage: "Create a temporary file with name based on TEMPLATE and print its name.\n"
//usage: "TEMPLATE must end with XXXXXX (e.g. [/dir/]nameXXXXXX).\n"
//usage: "Without TEMPLATE, -t tmp.XXXXXX is assumed.\n"
-//usage: "\nOptions:"
//usage: "\n -d Make directory, not file"
////usage: "\n -q Fail silently on errors" - we ignore this opt
//usage: "\n -t Prepend base directory name to TEMPLATE"
//usage: "[-t] "IF_FEATURE_RUN_PARTS_FANCY("[-l] ")"[-a ARG] [-u MASK] DIRECTORY"
//usage:#define run_parts_full_usage "\n\n"
//usage: "Run a bunch of scripts in DIRECTORY\n"
-//usage: "\nOptions:"
//usage: "\n -t Print what would be run, but don't actually run anything"
//usage: "\n -a ARG Pass ARG as argument for every program"
//usage: "\n -u MASK Set the umask to MASK before running every program"
//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"
//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: "[-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: "[-E extended-options] device"
//usage:#define e2fsck_full_usage "\n\n"
//usage: "Check ext2/ext3 file system\n"
-//usage: "\nOptions:"
//usage: "\n -p Automatic repair (no questions)"
//usage: "\n -n Make no changes to the filesystem"
//usage: "\n -y Assume 'yes' to all questions"
//usage:#define awk_trivial_usage
//usage: "[OPTIONS] [AWK_PROGRAM] [FILE]..."
//usage:#define awk_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -v VAR=VAL Set variable"
+//usage: " -v VAR=VAL Set variable"
//usage: "\n -F SEP Use SEP as field separator"
//usage: "\n -f FILE Read program from FILE"
//usage: "[-l] [-s] FILE1 [FILE2" IF_DESKTOP(" [SKIP1 [SKIP2]]") "]"
//usage:#define cmp_full_usage "\n\n"
//usage: "Compare FILE1 with FILE2 (or stdin)\n"
-//usage: "\nOptions:"
//usage: "\n -l Write the byte numbers (decimal) and values (octal)"
//usage: "\n for all differing bytes"
//usage: "\n -s Quiet"
//usage:#define diff_full_usage "\n\n"
//usage: "Compare files line by line and output the differences between them.\n"
//usage: "This implementation supports unified diffs only.\n"
-//usage: "\nOptions:"
//usage: "\n -a Treat all files as text"
//usage: "\n -b Ignore changes in the amount of whitespace"
//usage: "\n -B Ignore changes whose lines are all blank"
//usage:#define sed_trivial_usage
//usage: "[-efinr] SED_CMD [FILE]..."
//usage:#define sed_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -e CMD Add CMD to sed commands to be executed"
+//usage: " -e CMD Add CMD to sed commands to be executed"
//usage: "\n -f FILE Add FILE contents to sed commands to be executed"
//usage: "\n -i Edit files in-place (else sends result to stdout)"
//usage: "\n -n Suppress automatic printing of pattern space"
//usage: "[OPTIONS] [FILE]..."
//usage:#define vi_full_usage "\n\n"
//usage: "Edit FILE\n"
-//usage: "\nOptions:"
//usage: IF_FEATURE_VI_COLON(
//usage: "\n -c Initial command to run ($EXINIT also available)"
//usage: )
//usage: "Search for files and perform actions on them.\n"
//usage: "First failed action stops processing of current file.\n"
//usage: "Defaults: PATH is current directory, action is '-print'\n"
-//usage: "\nOptions:"
//usage: "\n -follow Follow symlinks"
//usage: IF_FEATURE_FIND_XDEV(
//usage: "\n -xdev Don't descend directories on other filesystems"
//usage: "PATTERN/-e PATTERN.../-f FILE [FILE]..."
//usage:#define grep_full_usage "\n\n"
//usage: "Search for PATTERN in FILEs (or stdin)\n"
-//usage: "\nOptions:"
//usage: "\n -H Add 'filename:' prefix"
//usage: "\n -h Do not add 'filename:' prefix"
//usage: "\n -n Add 'line_no:' prefix"
//usage: "[OPTIONS] [PROG ARGS]"
//usage:#define xargs_full_usage "\n\n"
//usage: "Run PROG on every item given by stdin\n"
-//usage: "\nOptions:"
//usage: IF_FEATURE_XARGS_SUPPORT_CONFIRMATION(
//usage: "\n -p Ask user whether to run each command"
//usage: )
//usage: "start [PROG ARGS]|stop|init"
//usage:#define bootchartd_full_usage "\n\n"
//usage: "Create /var/log/bootchart.tgz with boot chart data\n"
-//usage: "\nOptions:"
//usage: "\nstart: start background logging; with PROG, run PROG, then kill logging with USR1"
//usage: "\nstop: send USR1 to all bootchartd processes"
//usage: "\ninit: start background logging; stop when getty/xdm is seen (for init scripts)"
//usage: "[-d DELAY] [-n] [-f]" IF_FEATURE_WTMP(" [-w]")
//usage:#define halt_full_usage "\n\n"
//usage: "Halt the system\n"
-//usage: "\nOptions:"
//usage: "\n -d SEC Delay interval"
//usage: "\n -n Do not sync"
//usage: "\n -f Force (don't go through init)"
//usage: "[-d DELAY] [-n] [-f]"
//usage:#define poweroff_full_usage "\n\n"
//usage: "Halt and shut off power\n"
-//usage: "\nOptions:"
//usage: "\n -d SEC Delay interval"
//usage: "\n -n Do not sync"
//usage: "\n -f Force (don't go through init)"
//usage: "[-d DELAY] [-n] [-f]"
//usage:#define reboot_full_usage "\n\n"
//usage: "Reboot the system\n"
-//usage: "\nOptions:"
//usage: "\n -d SEC Delay interval"
//usage: "\n -n Do not sync"
//usage: "\n -f Force (don't go through init)"
//usage: "[-g GID] " IF_FEATURE_ADDUSER_TO_GROUP("[USER] ") "GROUP"
//usage:#define addgroup_full_usage "\n\n"
//usage: "Add a group " IF_FEATURE_ADDUSER_TO_GROUP("or add a user to a group") "\n"
-//usage: "\nOptions:"
//usage: "\n -g GID Group id"
//usage: "\n -S Create a system group"
//usage: "[OPTIONS] USER"
//usage:#define adduser_full_usage "\n\n"
//usage: "Add a user\n"
-//usage: "\nOptions:"
//usage: "\n -h DIR Home directory"
//usage: "\n -g GECOS GECOS field"
//usage: "\n -s SHELL Login shell"
//usage: IF_LONG_OPTS("[--md5|--encrypted]") IF_NOT_LONG_OPTS("[-m|-e]")
//usage:#define chpasswd_full_usage "\n\n"
//usage: "Read user:password from stdin and update /etc/passwd\n"
-//usage: "\nOptions:"
//usage: IF_LONG_OPTS(
//usage: "\n -e,--encrypted Supplied passwords are in encrypted form"
//usage: "\n -m,--md5 Use MD5 encryption instead of DES"
/* We do support -s, we just don't mention it */
//usage:#define cryptpw_full_usage "\n\n"
//usage: "Crypt PASSWORD using crypt(3)\n"
-//usage: "\nOptions:"
//usage: IF_LONG_OPTS(
//usage: "\n -P,--password-fd=N Read password from fd N"
/* //usage: "\n -s,--stdin Use stdin; like -P0" */
/* We do support -s, we just don't mention it */
//usage:#define mkpasswd_full_usage "\n\n"
//usage: "Crypt PASSWORD using crypt(3)\n"
-//usage: "\nOptions:"
//usage: IF_LONG_OPTS(
//usage: "\n -P,--password-fd=N Read password from fd N"
/* //usage: "\n -s,--stdin Use stdin; like -P0" */
//usage: "[OPTIONS] BAUD_RATE[,BAUD_RATE]... TTY [TERMTYPE]"
//usage:#define getty_full_usage "\n\n"
//usage: "Open a tty, prompt for a login name, then invoke /bin/login\n"
-//usage: "\nOptions:"
//usage: "\n -h Enable hardware RTS/CTS flow control"
//usage: "\n -L Set CLOCAL (ignore Carrier Detect state)"
//usage: "\n -m Get baud rate from modem's CONNECT status message"
//usage: "[-p] [-h HOST] [[-f] USER]"
//usage:#define login_full_usage "\n\n"
//usage: "Begin a new session on the system\n"
-//usage: "\nOptions:"
//usage: "\n -f Don't authenticate (user already authenticated)"
//usage: "\n -h Name of the remote host"
//usage: "\n -p Preserve environment"
//usage:#define passwd_full_usage "\n\n"
//usage: "Change USER's password (default: current user)"
//usage: "\n"
-//usage: "\nOptions:"
//usage: "\n -a ALG Encryption method"
//usage: "\n -d Set password to ''"
//usage: "\n -l Lock (disable) account"
//usage: "[OPTIONS] [-] [USER]"
//usage:#define su_full_usage "\n\n"
//usage: "Run shell under USER (by default, root)\n"
-//usage: "\nOptions:"
//usage: "\n -,-l Clear environment, run shell as login shell"
//usage: "\n -p,-m Do not set new $HOME, $SHELL, $USER, $LOGNAME"
//usage: "\n -c CMD Command to pass to 'sh -c'"
//usage: "[-t N] [TTY]"
//usage:#define sulogin_full_usage "\n\n"
//usage: "Single user login\n"
-//usage: "\nOptions:"
//usage: "\n -t N Timeout"
#include "libbb.h"
//usage: "[-a]"
//usage:#define vlock_full_usage "\n\n"
//usage: "Lock a virtual terminal. A password is required to unlock.\n"
-//usage: "\nOptions:"
//usage: "\n -a Lock all VTs"
#include "libbb.h"
//usage:#define makemime_full_usage "\n\n"
//usage: "Create multipart MIME-encoded message from FILEs\n"
/* //usage: "Transfer encoding is base64, disposition is inline (not attachment)\n" */
-//usage: "\nOptions:"
//usage: "\n -o FILE Output. Default: stdout"
//usage: "\n -a HDR Add header. Examples:"
//usage: "\n \"From: user@host.org\", \"Date: `date -R`\""
//usage: "\n -c CT Content type. Default: text/plain"
-//usage: "\n -C CS Charset. Default: " CONFIG_FEATURE_MIME_CHARSET
+//usage: "\n -C CS Charset. Default: " CONFIG_FEATURE_MIME_CHARSET
/* //usage: "\n -e ENC Transfer encoding. Ignored. base64 is assumed" */
//usage: "\n"
//usage: "\nOther options are silently ignored"
//usage: "[OPTIONS] MAILDIR [CONN_HELPER ARGS]"
//usage:#define popmaildir_full_usage "\n\n"
//usage: "Fetch content of remote mailbox to local maildir\n"
-//usage: "\nOptions:"
/* //usage: "\n -b Binary mode. Ignored" */
/* //usage: "\n -d Debug. Ignored" */
/* //usage: "\n -m Show used memory. Ignored" */
//usage: "[OPTIONS]"
//usage:#define reformime_full_usage "\n\n"
//usage: "Parse MIME-encoded message on stdin\n"
-//usage: "\nOptions:"
//usage: "\n -x PREFIX Extract content of MIME sections to files"
//usage: "\n -X PROG ARGS Filter content of MIME sections through PROG"
//usage: "\n Must be the last option"
//usage: "[-q] [-o OFF] [-f FREQ] [-p TCONST] [-t TICK]"
//usage:#define adjtimex_full_usage "\n\n"
//usage: "Read and optionally set system timebase parameters. See adjtimex(2)\n"
-//usage: "\nOptions:"
//usage: "\n -q Quiet"
//usage: "\n -o OFF Time offset, microseconds"
//usage: "\n -f FREQ Frequency adjust, integer kernel units (65536 is 1ppm)"
//usage:#define beep_trivial_usage
//usage: "-f FREQ -l LEN -d DELAY -r COUNT -n"
//usage:#define beep_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -f Frequency in Hz"
+//usage: " -f Frequency in Hz"
//usage: "\n -l Length in ms"
//usage: "\n -d Delay in ms"
//usage: "\n -r Repetitions"
//usage: "[-prfom] [PRIO] [PID | PROG ARGS]"
//usage:#define chrt_full_usage "\n\n"
//usage: "Change scheduling priority and class for a process\n"
-//usage: "\nOptions:"
//usage: "\n -p Operate on PID"
//usage: "\n -r Set SCHED_RR class"
//usage: "\n -f Set SCHED_FIFO class"
//usage: "A text-mode VNC like program for Linux virtual consoles."
//usage: "\nTo exit, quickly press ESC 3 times."
//usage: "\n"
-//usage: "\nOptions:"
//usage: "\n -v Don't send keystrokes to the console"
//usage: "\n -c Create missing devices in /dev"
//usage: "\n -s Open a SHELL session"
//usage: "mntpnt [-v]" IF_DEVFSD_FG_NP("[-fg][-np]")
//usage:#define devfsd_full_usage "\n\n"
//usage: "Manage devfs permissions and old device name symlinks\n"
-//usage: "\nOptions:"
//usage: "\n mntpnt The mount point where devfs is mounted"
//usage: "\n -v Print the protocol version numbers for devfsd"
//usage: "\n and the kernel-side protocol version and exit"
//usage: "[-t] [-T] [DEVICE]"
//usage:#define eject_full_usage "\n\n"
//usage: "Eject DEVICE or default /dev/cdrom\n"
-//usage: "\nOptions:"
//usage: IF_FEATURE_EJECT_SCSI(
//usage: "\n -s SCSI device"
//usage: )
//usage:#define fbsplash_trivial_usage
//usage: "-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]"
//usage:#define fbsplash_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -s Image"
+//usage: " -s Image"
//usage: "\n -c Hide cursor"
//usage: "\n -d Framebuffer device (default /dev/fb0)"
//usage: "\n -i Config file (var=value):"
//usage: "[-jq] MTD_DEVICE"
//usage:#define flash_eraseall_full_usage "\n\n"
//usage: "Erase an MTD device\n"
-//usage: "\nOptions:"
//usage: "\n -j Format the device for jffs2"
//usage: "\n -q Don't display progress messages"
//usage: "-v FILE MTD_DEVICE"
//usage:#define flashcp_full_usage "\n\n"
//usage: "Copy an image to MTD device\n"
-//usage: "\nOptions:"
//usage: "\n -v Verbose"
#include "libbb.h"
//usage:#define hdparm_trivial_usage
//usage: "[OPTIONS] [DEVICE]"
//usage:#define hdparm_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -a Get/set fs readahead"
+//usage: " -a Get/set fs readahead"
//usage: "\n -A Set drive read-lookahead flag (0/1)"
//usage: "\n -b Get/set bus state (0 == off, 1 == on, 2 == tristate)"
//usage: "\n -B Set Advanced Power Management setting (1-255)"
//usage: "[-c 1-3] [-n 0-7] [-p PID] [PROG]"
//usage:#define ionice_full_usage "\n\n"
//usage: "Change I/O priority and class\n"
-//usage: "\nOptions:"
//usage: "\n -c Class. 1:realtime 2:best-effort 3:idle"
//usage: "\n -n Priority"
//usage:#define last_full_usage "\n\n"
//usage: "Show listing of the last users that logged into the system"
//usage: IF_FEATURE_LAST_FANCY( "\n"
-//usage: "\nOptions:"
/* //usage: "\n -H Show header line" */
//usage: "\n -W Display with no host column truncation"
//usage: "\n -f FILE Read from FILE instead of /var/log/wtmp"
//usage: "[-EMNmh~I?] [FILE]..."
//usage:#define less_full_usage "\n\n"
//usage: "View FILE (or stdin) one screenful at a time\n"
-//usage: "\nOptions:"
//usage: "\n -E Quit once the end of a file is reached"
//usage: "\n -M,-m Display status line with line numbers"
//usage: "\n and percentage through the file"
//usage: "[-aw] [MANPAGE]..."
//usage:#define man_full_usage "\n\n"
//usage: "Format and display manual page\n"
-//usage: "\nOptions:"
-//usage: "\n -a Display all pages"
+//usage: "\n -a Display all pages"
//usage: "\n -w Show page locations"
#include "libbb.h"
//usage: "[-d DELAY] [-t TIMEOUT] [-s SPEED] [-X] TTY"
//usage:#define microcom_full_usage "\n\n"
//usage: "Copy bytes for stdin to TTY and from TTY to stdout\n"
-//usage: "\nOptions:"
//usage: "\n -d Wait up to DELAY ms for TTY output before sending every"
//usage: "\n next byte to it"
//usage: "\n -t Exit if both stdin and TTY are silent for TIMEOUT ms"
//usage: "[-q] <[-dn] DIR | -x DEVICE>"
//usage:#define mountpoint_full_usage "\n\n"
//usage: "Check if the directory is a mountpoint\n"
-//usage: "\nOptions:"
//usage: "\n -q Quiet"
//usage: "\n -d Print major/minor device number of the filesystem"
//usage: "\n -n Print device name of the filesystem"
//usage: "[-p] [-s ADDR] MTD_DEVICE [FILE]"
//usage:#define nandwrite_full_usage "\n\n"
//usage: "Write to the specified MTD device\n"
-//usage: "\nOptions:"
//usage: "\n -p Pad to page size"
//usage: "\n -s ADDR Start address"
//usage: "[-o] [-b] [-s ADDR] [-f FILE] MTD_DEVICE"
//usage:#define nanddump_full_usage "\n\n"
//usage: "Dump the sepcified MTD device\n"
-//usage: "\nOptions:"
//usage: "\n -o Omit oob data"
//usage: "\n -b Omit bad block from the dump"
//usage: "\n -s ADDR Start address"
//usage:#define setserial_trivial_usage
//usage: "[-gabGvzV] DEVICE [PARAMETER [ARG]]..."
//usage:#define setserial_full_usage "\n\n"
-//usage: "Request or set Linux serial port information\n\n"
-//usage: "Options:\n"
+//usage: "Request or set Linux serial port information\n"
+//usage: "\n"
//usage: " -g Interpret parameters as list of devices for reporting"
//usage: " -a Print all available information\n"
//usage: " -b Print summary information\n"
//usage: "[-afo] [-n LEN] [FILE]..."
//usage:#define strings_full_usage "\n\n"
//usage: "Display printable strings in a binary file\n"
-//usage: "\nOptions:"
//usage: "\n -a Scan whole file (default)"
//usage: "\n -f Precede strings with filenames"
//usage: "\n -n LEN At least LEN characters form a string (default 4)"
//usage: "[-p] [MASK] [PID | PROG ARGS]"
//usage:#define taskset_full_usage "\n\n"
//usage: "Set or get CPU affinity\n"
-//usage: "\nOptions:"
//usage: "\n -p Operate on an existing PID"
//usage:
//usage:#define taskset_example_usage
//usage: "[-v] PROG ARGS"
//usage:#define time_full_usage "\n\n"
//usage: "Run PROG, display resource usage when it exits\n"
-//usage: "\nOptions:"
//usage: "\n -v Verbose"
#include "libbb.h"
//usage: "-m MTD_NUM [-d UBI_NUM] UBI_CTRL_DEV"
//usage:#define ubiattach_full_usage "\n\n"
//usage: "Attach MTD device to UBI\n"
-//usage: "\nOptions:"
//usage: "\n -m MTD_NUM MTD device number to attach"
//usage: "\n -d UBI_NUM UBI device number to assign"
//usage:
//usage: "-d UBI_NUM UBI_CTRL_DEV"
//usage:#define ubidetach_full_usage "\n\n"
//usage: "Detach MTD device from UBI\n"
-//usage: "\nOptions:"
//usage: "\n -d UBI_NUM UBI device number"
//usage:
//usage:#define ubimkvol_trivial_usage
//usage: "UBI_DEVICE -N NAME -s SIZE"
//usage:#define ubimkvol_full_usage "\n\n"
//usage: "Create UBI volume\n"
-//usage: "\nOptions:"
//usage: "\n -a ALIGNMENT Volume alignment (default 1)"
//usage: "\n -n VOLID Volume ID, if not specified, it"
//usage: "\n will be assigned automatically"
//usage: "UBI_DEVICE -n VOLID"
//usage:#define ubirmvol_full_usage "\n\n"
//usage: "Remove UBI volume\n"
-//usage: "\nOptions:"
//usage: "\n -n VOLID Volume ID"
//usage:
//usage:#define ubirsvol_trivial_usage
//usage: "UBI_DEVICE -n VOLID -s SIZE"
//usage:#define ubirsvol_full_usage "\n\n"
//usage: "Resize UBI volume\n"
-//usage: "\nOptions:"
//usage: "\n -n VOLID Volume ID to resize"
//usage: "\n -s SIZE Size in bytes"
//usage:
//usage: "UBI_DEVICE [IMG_FILE]"
//usage:#define ubiupdatevol_full_usage "\n\n"
//usage: "Update UBI volume\n"
-//usage: "\nOptions:"
-//usage: "\n -t Truncate UBI volume"
-//usage: "\n -s SIZE Bytes in input (if reading stdin)"
+//usage: "\n -t Truncate UBI volume"
+//usage: "\n -s SIZE Bytes in input (if reading stdin)"
int ubi_tools_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
//usage: "[-t N[ms]] [-T N[ms]] [-F] DEV"
//usage:#define watchdog_full_usage "\n\n"
//usage: "Periodically write to watchdog device DEV\n"
-//usage: "\nOptions:"
//usage: "\n -T N Reboot after N seconds if not reset (default 60)"
//usage: "\n -t N Reset every N seconds (default 30)"
//usage: "\n -F Run in foreground"
//usage:#define insmod_full_usage "\n\n"
//usage: "Load the specified kernel modules into the kernel"
//usage: IF_FEATURE_2_4_MODULES( "\n"
-//usage: "\nOptions:"
//usage: "\n -f Force module to load into the wrong kernel version"
//usage: "\n -k Make module autoclean-able"
//usage: "\n -v Verbose"
//usage:#define modinfo_trivial_usage
//usage: "[-adlp0] [-F keyword] MODULE"
//usage:#define modinfo_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -a Shortcut for '-F author'"
+//usage: " -a Shortcut for '-F author'"
//usage: "\n -d Shortcut for '-F description'"
//usage: "\n -l Shortcut for '-F license'"
//usage: "\n -p Shortcut for '-F parm'"
//usage:#define insmod_full_usage "\n\n"
//usage: "Load the specified kernel modules into the kernel"
//usage: IF_FEATURE_2_4_MODULES( "\n"
-//usage: "\nOptions:"
//usage: "\n -f Force module to load into the wrong kernel version"
//usage: "\n -k Make module autoclean-able"
//usage: "\n -v Verbose"
//usage: "[-wfa] [MODULE]..."
//usage:#define rmmod_full_usage "\n\n"
//usage: "Unload kernel modules\n"
-//usage: "\nOptions:"
//usage: "\n -w Wait until the module is no longer used"
//usage: "\n -f Force unload"
//usage: "\n -a Remove all unused modules (recursively)"
//usage:#define modprobe_trivial_usage
//usage: "[-qfwrsv] MODULE [symbol=value]..."
//usage:#define modprobe_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -r Remove MODULE (stacks) or do autoclean"
+//usage: " -r Remove MODULE (stacks) or do autoclean"
//usage: "\n -q Quiet"
//usage: "\n -v Verbose"
//usage: "\n -f Force"
//usage: "[-alrqvsD" IF_FEATURE_MODPROBE_BLACKLIST("b") "]"
//usage: " MODULE [symbol=value]..."
//usage:#define modprobe_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -a Load multiple MODULEs"
+//usage: " -a Load multiple MODULEs"
//usage: "\n -l List (MODULE is a pattern)"
//usage: "\n -r Remove MODULE (stacks) or do autoclean"
//usage: "\n -q Quiet"
//usage: "[-wfa] [MODULE]..."
//usage:#define rmmod_full_usage "\n\n"
//usage: "Unload kernel modules\n"
-//usage: "\nOptions:"
//usage: "\n -w Wait until the module is no longer used"
//usage: "\n -f Force unload"
//usage: "\n -a Remove all unused modules (recursively)"
//usage: "\n[-v] [-H HWTYPE] [-i IF] -Ds HOSTNAME IFACE [netmask MASK] pub"
//usage:#define arp_full_usage "\n\n"
//usage: "Manipulate ARP cache\n"
-//usage: "\nOptions:"
//usage: "\n -a Display (all) hosts"
//usage: "\n -s Set new ARP entry"
//usage: "\n -d Delete a specified entry"
//usage: "[-fqbDUA] [-c CNT] [-w TIMEOUT] [-I IFACE] [-s SRC_IP] DST_IP"
//usage:#define arping_full_usage "\n\n"
//usage: "Send ARP requests/replies\n"
-//usage: "\nOptions:"
//usage: "\n -f Quit on first ARP reply"
//usage: "\n -q Quiet"
//usage: "\n -b Keep broadcasting, don't go unicast"
//usage: "[-dvs] [-c CONFFILE] [-t TTL_SEC] [-p PORT] [-i ADDR]"
//usage:#define dnsd_full_usage "\n\n"
//usage: "Small static DNS server daemon\n"
-//usage: "\nOptions:"
//usage: "\n -c FILE Config file"
//usage: "\n -t SEC TTL"
//usage: "\n -p PORT Listen on PORT"
//usage: "Send a magic packet to wake up sleeping machines.\n"
//usage: "MAC must be a station address (00:11:22:33:44:55) or\n"
//usage: "a hostname with a known 'ethers' entry.\n"
-//usage: "\nOptions:"
//usage: "\n -b Send wake-up packet to the broadcast address"
//usage: "\n -i iface Interface to use (default eth0)"
//usage: "\n -p pass Append four or six byte password PW to the packet"
//usage: " 21 stream tcp nowait root ftpd ftpd /files/to/serve\n"
//usage: "It also can be ran from tcpsvd:\n"
//usage: " tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve\n"
-//usage: "\nOptions:"
//usage: "\n -w Allow upload"
//usage: "\n -v Log errors to stderr. -vv: verbose log"
//usage: "\n -S Log errors to syslog. -SS: verbose log"
//usage: "[OPTIONS] HOST [LOCAL_FILE] REMOTE_FILE"
//usage:#define ftpget_full_usage "\n\n"
//usage: "Retrieve a remote file via FTP\n"
-//usage: "\nOptions:"
//usage: IF_FEATURE_FTPGETPUT_LONG_OPTIONS(
//usage: "\n -c,--continue Continue previous transfer"
//usage: "\n -v,--verbose Verbose"
//usage: "[OPTIONS] HOST [REMOTE_FILE] LOCAL_FILE"
//usage:#define ftpput_full_usage "\n\n"
//usage: "Store a local file on a remote machine via FTP\n"
-//usage: "\nOptions:"
//usage: IF_FEATURE_FTPGETPUT_LONG_OPTIONS(
//usage: "\n -v,--verbose Verbose"
//usage: "\n -u,--username Username"
//usage: "[OPTIONS] [HOSTNAME | -F FILE]"
//usage:#define hostname_full_usage "\n\n"
//usage: "Get or set hostname or DNS domain name\n"
-//usage: "\nOptions:"
//usage: "\n -s Short"
//usage: "\n -i Addresses for the hostname"
//usage: "\n -d DNS domain name"
//usage: "or httpd -d/-e" IF_FEATURE_HTTPD_AUTH_MD5("/-m") " STRING"
//usage:#define httpd_full_usage "\n\n"
//usage: "Listen for incoming HTTP requests\n"
-//usage: "\nOptions:"
//usage: "\n -i Inetd mode"
//usage: "\n -f Don't daemonize"
//usage: "\n -v[v] Verbose"
//usage: IF_FEATURE_IFCONFIG_STATUS("[-a]") " interface [address]"
//usage:#define ifconfig_full_usage "\n\n"
//usage: "Configure a network interface\n"
-//usage: "\nOptions:"
//usage: "\n"
//usage: IF_FEATURE_IPV6(
//usage: " [add ADDRESS[/PREFIXLEN]]\n")
//usage: "[-cdf] MASTER_IFACE SLAVE_IFACE..."
//usage:#define ifenslave_full_usage "\n\n"
//usage: "Configure network interfaces for parallel routing\n"
-//usage: "\nOptions:"
//usage: "\n -c,--change-active Change active slave"
//usage: "\n -d,--detach Remove slave interface from bonding device"
//usage: "\n -f,--force Force, even if interface is not Ethernet"
//usage: "[OPTIONS]"
//usage:#define ifplugd_full_usage "\n\n"
//usage: "Network interface plug detection daemon\n"
-//usage: "\nOptions:"
//usage: "\n -n Don't daemonize"
//usage: "\n -s Don't log to syslog"
//usage: "\n -i IFACE Interface"
//usage:#define ifup_trivial_usage
//usage: "[-an"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] [-i FILE] IFACE..."
//usage:#define ifup_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -a De/configure all interfaces automatically"
+//usage: " -a De/configure all interfaces automatically"
//usage: "\n -i FILE Use FILE for interface definitions"
//usage: "\n -n Print out what would happen, but don't do it"
//usage: IF_FEATURE_IFUPDOWN_MAPPING(
//usage:#define ifdown_trivial_usage
//usage: "[-an"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] [-i FILE] IFACE..."
//usage:#define ifdown_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -a De/configure all interfaces automatically"
+//usage: " -a De/configure all interfaces automatically"
//usage: "\n -i FILE Use FILE for interface definitions"
//usage: "\n -n Print out what would happen, but don't do it"
//usage: IF_FEATURE_IFUPDOWN_MAPPING(
//usage: "[-fe] [-q N] [-R N] [CONFFILE]"
//usage:#define inetd_full_usage "\n\n"
//usage: "Listen for network connections and launch programs\n"
-//usage: "\nOptions:"
//usage: "\n -f Run in foreground"
//usage: "\n -e Log to stderr"
-//usage: "\n -q N Socket listen queue (default: 128)"
+//usage: "\n -q N Socket listen queue (default: 128)"
//usage: "\n -R N Pause services after N connects/min"
//usage: "\n (default: 0 - disabled)"
//usage:#define iproute_full_usage "\n\n"
//usage: "iproute { list | flush } SELECTOR\n"
//usage: "iproute get ADDRESS [from ADDRESS iif STRING]\n"
-//usage: " [oif STRING] [tos TOS]\n"
+//usage: " [oif STRING] [tos TOS]\n"
//usage: "iproute { add | del | change | append | replace | monitor } ROUTE\n"
//usage: " SELECTOR := [root PREFIX] [match PREFIX] [proto RTPROTO]\n"
//usage: " ROUTE := [TYPE] PREFIX [tos TOS] [proto RTPROTO]\n"
//usage: "[OPTIONS] ADDRESS[[/]NETMASK] [NETMASK]"
//usage:#define ipcalc_full_usage "\n\n"
//usage: "Calculate IP network settings from a IP address\n"
-//usage: "\nOptions:"
//usage: IF_FEATURE_IPCALC_LONG_OPTIONS(
//usage: "\n -b,--broadcast Display calculated broadcast address"
//usage: "\n -n,--network Display calculated network address"
//usage: "[-fiw] [-b ADDR] [STRING]"
//usage:#define fakeidentd_full_usage "\n\n"
//usage: "Provide fake ident (auth) service\n"
-//usage: "\nOptions:"
//usage: "\n -f Run in foreground"
//usage: "\n -i Inetd mode"
//usage: "\n -w Inetd 'wait' mode"
//usage: "\n [mac=]XX:XX:XX:XX:XX:XX"
//usage: )
//usage: "\n"
-//usage: "\nOptions:"
//usage: "\n -c FILE Configuration file (default: /etc/mactab)"
//usage: "\n -s Log to syslog"
//usage:
//usage:#if !ENABLE_NC_110_COMPAT
//usage:
//usage:#if ENABLE_NC_SERVER || ENABLE_NC_EXTRA
-//usage:#define NC_OPTIONS_STR "\n\nOptions:"
+//usage:#define NC_OPTIONS_STR "\n"
//usage:#else
//usage:#define NC_OPTIONS_STR
//usage:#endif
//usage: "nc [OPTIONS] -l -p PORT [HOST] [PORT] - listen"
//usage: )
//usage:#define nc_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -e PROG Run PROG after connect (must be last)"
+//usage: " -e PROG Run PROG after connect (must be last)"
//usage: IF_NC_SERVER(
//usage: "\n -l Listen mode, for inbound connects"
//usage: )
//usage: "[-"IF_ROUTE("r")"al] [-tuwx] [-en"IF_FEATURE_NETSTAT_WIDE("W")IF_FEATURE_NETSTAT_PRG("p")"]"
//usage:#define netstat_full_usage "\n\n"
//usage: "Display networking information\n"
-//usage: "\nOptions:"
//usage: IF_ROUTE(
//usage: "\n -r Routing table"
//usage: )
//usage: "[-dnqNw"IF_FEATURE_NTPD_SERVER("l")"] [-S PROG] [-p PEER]..."
//usage:#define ntpd_full_usage "\n\n"
//usage: "NTP client/server\n"
-//usage: "\nOptions:"
//usage: "\n -d Verbose"
//usage: "\n -n Do not daemonize"
//usage: "\n -q Quit after clock is set"
//usage: "[OPTIONS] HOST"
//usage:# define ping_full_usage "\n\n"
//usage: "Send ICMP ECHO_REQUEST packets to network hosts\n"
-//usage: "\nOptions:"
//usage: "\n -4,-6 Force IP or IPv6 name resolution"
//usage: "\n -c CNT Send only CNT pings"
//usage: "\n -s SIZE Send SIZE data bytes in packets (default:56)"
//usage: "[OPTIONS] HOST"
//usage:# define ping6_full_usage "\n\n"
//usage: "Send ICMP ECHO_REQUEST packets to network hosts\n"
-//usage: "\nOptions:"
//usage: "\n -c CNT Send only CNT pings"
//usage: "\n -s SIZE Send SIZE data bytes in packets (default:56)"
//usage: "\n -I IFACE/IP Use interface or IP address as source"
//usage: "[-cb] [-p MIN_PORT] [-P MAX_PORT] [-t TIMEOUT] [-T MIN_RTT] HOST"
//usage:#define pscan_full_usage "\n\n"
//usage: "Scan a host, print all open ports\n"
-//usage: "\nOptions:"
//usage: "\n -c Show closed ports too"
//usage: "\n -b Show blocked ports too"
//usage: "\n -p Scan from this port (default 1)"
//usage: "[{add|del|delete}]"
//usage:#define route_full_usage "\n\n"
//usage: "Edit kernel routing tables\n"
-//usage: "\nOptions:"
//usage: "\n -n Don't resolve names"
//usage: "\n -e Display other/more information"
//usage: "\n -A inet" IF_FEATURE_IPV6("{6}") " Select address family"
//usage: "[-cehmLF] [-s SPEED] [-p PROTOCOL] DEVICE"
//usage:#define slattach_full_usage "\n\n"
//usage: "Attach network interface(s) to serial line(s)\n"
-//usage: "\nOptions:"
//usage: "\n -p PROT Set protocol (slip, cslip, slip6, clisp6 or adaptive)"
//usage: "\n -s SPD Set line speed"
//usage: "\n -e Exit after initializing device"
//usage: "[-a] [-l USER] HOST [PORT]"
//usage:#define telnet_full_usage "\n\n"
//usage: "Connect to telnet server\n"
-//usage: "\nOptions:"
//usage: "\n -a Automatic login with $USER variable"
//usage: "\n -l USER Automatic login as USER"
//usage:
//usage:#define telnetd_full_usage "\n\n"
//usage: "Handle incoming telnet connections"
//usage: IF_NOT_FEATURE_TELNETD_STANDALONE(" via inetd") "\n"
-//usage: "\nOptions:"
//usage: "\n -l LOGIN Exec LOGIN on connect"
//usage: "\n -f ISSUE_FILE Display ISSUE_FILE instead of /etc/issue"
//usage: "\n -K Close connection as soon as login exits"
//usage: "[OPTIONS] HOST [PORT]"
//usage:#define tftp_full_usage "\n\n"
//usage: "Transfer a file from/to tftp server\n"
-//usage: "\nOptions:"
//usage: "\n -l FILE Local FILE"
//usage: "\n -r FILE Remote FILE"
//usage: IF_FEATURE_TFTP_GET(
//usage: " 69 dgram udp nowait root tftpd tftpd -l /files/to/serve\n"
//usage: "It also can be ran from udpsvd:\n"
//usage: " udpsvd -vE 0.0.0.0 69 tftpd /files/to/serve\n"
-//usage: "\nOptions:"
//usage: "\n -r Prohibit upload"
//usage: "\n -c Allow file creation via upload"
//usage: "\n -u Access files as USER"
//usage: " [-z PAUSE_MSEC] HOST [BYTES]"
//usage:#define traceroute_full_usage "\n\n"
//usage: "Trace the route to HOST\n"
-//usage: "\nOptions:"
//usage: IF_TRACEROUTE6(
//usage: "\n -4,-6 Force IP or IPv6 name resolution"
//usage: )
//usage: " HOST [BYTES]"
//usage:#define traceroute6_full_usage "\n\n"
//usage: "Trace the route to HOST\n"
-//usage: "\nOptions:"
//usage: "\n -d Set SO_DEBUG options to socket"
//usage: "\n -n Print numeric addresses"
//usage: "\n -r Bypass routing tables, send directly to HOST"
//usage: "[-f device] ([-t name] | -d name)" IF_FEATURE_TUNCTL_UG(" [-u owner] [-g group] [-b]")
//usage:#define tunctl_full_usage "\n\n"
//usage: "Create or delete tun interfaces\n"
-//usage: "\nOptions:"
//usage: "\n -f name tun device (/dev/net/tun)"
//usage: "\n -t name Create iface 'name'"
//usage: "\n -d name Delete iface 'name'"
//usage: "[-r|-a] [-f LEASEFILE]"
//usage:#define dumpleases_full_usage "\n\n"
//usage: "Display DHCP leases granted by udhcpd\n"
-//usage: "\nOptions:"
//usage: IF_LONG_OPTS(
//usage: "\n -f,--file=FILE Lease file"
//usage: "\n -r,--remaining Show remaining time"
//usage: "COMMAND [OPTIONS]"
//usage:#define vconfig_full_usage "\n\n"
//usage: "Create and remove virtual ethernet devices\n"
-//usage: "\nOptions:"
//usage: "\n add [interface-name] [vlan_id]"
//usage: "\n rem [vlan-name]"
//usage: "\n set_flag [interface-name] [flag-num] [0 | 1]"
//usage: )
//usage:#define wget_full_usage "\n\n"
//usage: "Retrieve files via HTTP or FTP\n"
-//usage: "\nOptions:"
//usage: "\n -s Spider mode - only check file existence"
//usage: "\n -c Continue retrieval of aborted transfer"
//usage: "\n -q Quiet"
//usage: "[-h SERVER] [-p PORT] NAME..."
//usage:#define whois_full_usage "\n\n"
//usage: "Query WHOIS info about NAME\n"
-//usage: "\nOptions:"
//usage: "\n -h,-p Server to query"
#include "libbb.h"
//usage: "[OPTIONS] IFACE SCRIPT"
//usage:#define zcip_full_usage "\n\n"
//usage: "Manage a ZeroConf IPv4 link-local address\n"
-//usage: "\nOptions:"
//usage: "\n -f Run in foreground"
//usage: "\n -q Quit after obtaining address"
//usage: "\n -r 169.254.x.x Request this address first"
/* -C CLASS exists too, not shown.
* CLASS is supposed to be printed on banner page, if one is requested */
//usage:#define lpr_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -P lp service to connect to (else uses $PRINTER)"
+//usage: " -P lp service to connect to (else uses $PRINTER)"
//usage: "\n -m Send mail on completion"
//usage: "\n -h Print banner page too"
//usage: "\n -V Verbose"
//usage:#define lpq_trivial_usage
//usage: "[-P queue[@host[:port]]] [-U USERNAME] [-d JOBID]... [-fs]"
//usage:#define lpq_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -P lp service to connect to (else uses $PRINTER)"
+//usage: " -P lp service to connect to (else uses $PRINTER)"
//usage: "\n -d Delete jobs"
//usage: "\n -f Force any waiting job to be printed"
//usage: "\n -s Short display"
//usage: "[OPTIONS] FILE or PORT/PROTO"
//usage:#define fuser_full_usage "\n\n"
//usage: "Find processes which use FILEs or PORTs\n"
-//usage: "\nOptions:"
//usage: "\n -m Find processes which use same fs as FILEs"
//usage: "\n -4,-6 Search only IPv4/IPv6 space"
//usage: "\n -s Don't display PIDs"
//usage: "[-c] [-d] [-t] [-z] [-k|-m] [ALL|BLOCKDEV...] [INTERVAL [COUNT]]"
//usage:#define iostat_full_usage "\n\n"
//usage: "Report CPU and I/O statistics\n"
-//usage: "\nOptions:"
//usage: "\n -c Show CPU utilization"
//usage: "\n -d Show device utilization"
//usage: "\n -t Print current time"
//usage: "[-l] [-SIG] PID..."
//usage:#define kill_full_usage "\n\n"
//usage: "Send a signal (default: TERM) to given PIDs\n"
-//usage: "\nOptions:"
//usage: "\n -l List all signal names and numbers"
/* //usage: "\n -s SIG Yet another way of specifying SIG" */
//usage:
//usage: "[-l] [-q] [-SIG] PROCESS_NAME..."
//usage:#define killall_full_usage "\n\n"
//usage: "Send a signal (default: TERM) to given processes\n"
-//usage: "\nOptions:"
//usage: "\n -l List all signal names and numbers"
/* //usage: "\n -s SIG Yet another way of specifying SIG" */
//usage: "\n -q Don't complain if no processes were killed"
//usage: "[-l] [-SIG] [-o PID]..."
//usage:#define killall5_full_usage "\n\n"
//usage: "Send a signal (default: TERM) to all processes outside current session\n"
-//usage: "\nOptions:"
//usage: "\n -l List all signal names and numbers"
//usage: "\n -o PID Don't signal this PID"
/* //usage: "\n -s SIG Yet another way of specifying SIG" */
//usage: "[-A] [-I SUM|CPU|ALL|SCPU] [-u] [-P num|ALL] [INTERVAL [COUNT]]"
//usage:#define mpstat_full_usage "\n\n"
//usage: "Per-processor statistics\n"
-//usage: "\nOptions:"
//usage: "\n -A Same as -I ALL -u -P ALL"
//usage: "\n -I SUM|CPU|ALL|SCPU Report interrupt statistics"
//usage: "\n -P num|ALL Processor to monitor"
//usage: "[-flnovx] [-s SID|-P PPID|PATTERN]"
//usage:#define pgrep_full_usage "\n\n"
//usage: "Display process(es) selected by regex PATTERN\n"
-//usage: "\nOptions:"
//usage: "\n -l Show command name too"
//usage: "\n -f Match against entire command line"
//usage: "\n -n Show the newest process only"
//usage: "[-l|-SIGNAL] [-fnovx] [-s SID|-P PPID|PATTERN]"
//usage:#define pkill_full_usage "\n\n"
//usage: "Send a signal to process(es) selected by regex PATTERN\n"
-//usage: "\nOptions:"
//usage: "\n -l List all signals"
//usage: "\n -f Match against entire command line"
//usage: "\n -n Signal the newest process only"
//usage:#if (ENABLE_FEATURE_PIDOF_SINGLE || ENABLE_FEATURE_PIDOF_OMIT)
//usage:#define pidof_trivial_usage
//usage: "[OPTIONS] [NAME]..."
-//usage:#define USAGE_PIDOF "\n\nOptions:"
+//usage:#define USAGE_PIDOF "\n"
//usage:#else
//usage:#define pidof_trivial_usage
//usage: "[NAME]..."
* for details.
*/
-//applet:IF_PMAP(APPLET(pmap, BB_DIR_USR_BIN, BB_SUID_DROP))
-//kbuild:lib-$(CONFIG_PMAP) += pmap.o
-
//config:config PMAP
//config: bool "pmap"
//config: default y
//config: help
//config: Display processes' memory mappings.
+//applet:IF_PMAP(APPLET(pmap, BB_DIR_USR_BIN, BB_SUID_DROP))
+//kbuild:lib-$(CONFIG_PMAP) += pmap.o
+
//usage:#define pmap_trivial_usage
-//usage: "[-x][-q] PID"
+//usage: "[-xq] PID"
//usage:#define pmap_full_usage "\n\n"
-//usage: "Display detailed precesses' memory usage\n"
-//usage: "\nOptions:"
-//usage: "\n -x show details"
-//usage: "\n -q quiet"
+//usage: "Display detailed process memory usage"
+//usage: "\n"
+//usage: "\n -x Show details"
+//usage: "\n -q Quiet"
#include "libbb.h"
//usage: "[-o COL1,COL2=HEADER]" IF_FEATURE_SHOW_THREADS(" [-T]")
//usage:#define ps_full_usage "\n\n"
//usage: "Show list of processes\n"
-//usage: "\nOptions:"
//usage: "\n -o COL1,COL2=HEADER Select columns for display"
//usage: IF_FEATURE_SHOW_THREADS(
//usage: "\n -T Show threads"
//usage:#if !ENABLE_SELINUX && !ENABLE_FEATURE_PS_WIDE
//usage:#define USAGE_PS "\nThis version of ps accepts no options"
//usage:#else
-//usage:#define USAGE_PS "\nOptions:"
//usage:#endif
//usage:
//usage:#define ps_trivial_usage
//usage: "[-p] [PID|USER]"
//usage:#define pstree_full_usage "\n\n"
//usage: "Display process tree, optionally start from USER or PID\n"
-//usage: "\nOptions:"
//usage: "\n -p Show pids"
#include "libbb.h"
//usage: "{{-n INCREMENT} | PRIORITY} [[-p | -g | -u] ID...]"
//usage:#define renice_full_usage "\n\n"
//usage: "Change scheduling priority for a running process\n"
-//usage: "\nOptions:"
//usage: "\n -n Adjust current nice value (smaller is faster)"
//usage: "\n -p Process id(s) (default)"
//usage: "\n -g Process group id(s)"
//usage: "[OPTIONS] [VALUE]..."
//usage:#define sysctl_full_usage "\n\n"
//usage: "Configure kernel parameters at runtime\n"
-//usage: "\nOptions:"
//usage: "\n -n Don't print key names"
//usage: "\n -e Don't warn about unknown keys"
//usage: "\n -w Change sysctl setting"
//usage: "[-n SEC] [-t] PROG ARGS"
//usage:#define watch_full_usage "\n\n"
//usage: "Run PROG periodically\n"
-//usage: "\nOptions:"
//usage: "\n -n Loop period in seconds (default 2)"
//usage: "\n -t Don't print header"
//usage:
//usage: " [-p N] [-f BYTES] [-c BYTES] PROG ARGS"
//usage:#define chpst_full_usage "\n\n"
//usage: "Change the process state, run PROG\n"
-//usage: "\nOptions:"
//usage: "\n -u USER[:GRP] Set uid and gid"
//usage: "\n -U USER[:GRP] Set $UID and $GID in environment"
//usage: "\n -e DIR Set environment variables as specified by files"
//usage: " PROG ARGS"
//usage:#define softlimit_full_usage "\n\n"
//usage: "Set soft resource limits, then run PROG\n"
-//usage: "\nOptions:"
//usage: "\n -a BYTES Limit total size of all segments"
//usage: "\n -m BYTES Same as -d BYTES -s BYTES -l BYTES -a BYTES"
//usage: "\n -d BYTES Limit data segment"
//usage: "[-c N] [-n]"
//usage:#define klogd_full_usage "\n\n"
//usage: "Kernel logger\n"
-//usage: "\nOptions:"
//usage: "\n -c N Print to console messages more urgent than prio N (1-8)"
//usage: "\n -n Run in foreground"
//usage: "[OPTIONS] [MESSAGE]"
//usage:#define logger_full_usage "\n\n"
//usage: "Write MESSAGE (or stdin) to syslog\n"
-//usage: "\nOptions:"
//usage: "\n -s Log to stderr as well as the system log"
//usage: "\n -t TAG Log using the specified tag (defaults to user name)"
//usage: "\n -p PRIO Priority (numeric or facility.level pair)"
//usage: "[-f]"
//usage:#define logread_full_usage "\n\n"
//usage: "Show messages in syslogd's circular buffer\n"
-//usage: "\nOptions:"
//usage: "\n -f Output data as log grows"
#include "libbb.h"
//usage: IF_NOT_FEATURE_SYSLOGD_CFG(
//usage: "(this version of syslogd ignores /etc/syslog.conf)\n"
//usage: )
-//usage: "\nOptions:"
//usage: "\n -n Run in foreground"
//usage: "\n -O FILE Log to FILE (default:/var/log/messages)"
//usage: "\n -l N Log only messages more urgent than prio N (1-8)"
//usage: "[-d] [-c CONFDIR] [-l LOGFILE] [-a ACTIONFILE] [-M MAPFILE] [-e PROC_EVENT_FILE] [-p PIDFILE]"
//usage:#define acpid_full_usage "\n\n"
//usage: "Listen to ACPI events and spawn specific helpers on event arrival\n"
-//usage: "\nOptions:"
//usage: "\n -c DIR Config directory [/etc/acpi]"
//usage: "\n -d Don't daemonize, (implies -f)"
//usage: "\n -e FILE /proc event file [/proc/acpi/event]"
//usage:#define blockdev_trivial_usage
//usage: "OPTION BLOCKDEV"
//usage:#define blockdev_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n --setro Set ro"
+//usage: " --setro Set ro"
//usage: "\n --setrw Set rw"
//usage: "\n --getro Get ro"
//usage: "\n --getss Get sector size"
//usage: "[-c] [-n LEVEL] [-s SIZE]"
//usage:#define dmesg_full_usage "\n\n"
//usage: "Print or control the kernel ring buffer\n"
-//usage: "\nOptions:"
//usage: "\n -c Clear ring buffer after printing"
//usage: "\n -n LEVEL Set console logging level"
//usage: "\n -s SIZE Buffer size"
//usage: "[-n] DEVICE"
//usage:#define fdformat_full_usage "\n\n"
//usage: "Format floppy disk\n"
-//usage: "\nOptions:"
//usage: "\n -n Don't verify after format"
#include "libbb.h"
//usage: "[-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK"
//usage:#define fdisk_full_usage "\n\n"
//usage: "Change partition table\n"
-//usage: "\nOptions:"
//usage: "\n -u Start and End are in sectors (instead of cylinders)"
//usage: "\n -l Show partition table for each DISK, then exit"
//usage: IF_FEATURE_FDISK_BLKSIZE(
//usage: "[-sxun] FD|{FILE [-c] PROG ARGS}"
//usage:#define flock_full_usage "\n\n"
//usage: "[Un]lock file descriptor, or lock FILE, run PROG\n"
-//usage: "\nOptions:"
//usage: "\n -s Shared lock"
//usage: "\n -x Exclusive lock (default)"
//usage: "\n -u Unlock FD"
//usage: "[-larvsmf] BLOCKDEV"
//usage:#define fsck_minix_full_usage "\n\n"
//usage: "Check MINIX filesystem\n"
-//usage: "\nOptions:"
//usage: "\n -l List all filenames"
//usage: "\n -r Perform interactive repairs"
//usage: "\n -a Perform automatic repairs"
//usage:#define getopt_trivial_usage
//usage: "[OPTIONS]"
//usage:#define getopt_full_usage "\n\n"
-//usage: "Options:"
//usage: IF_LONG_OPTS(
-//usage: "\n -a,--alternative Allow long options starting with single -"
+//usage: " -a,--alternative Allow long options starting with single -"
//usage: "\n -l,--longoptions=longopts Long options to be recognized"
//usage: "\n -n,--name=progname The name under which errors are reported"
//usage: "\n -o,--options=optstring Short options to be recognized"
//usage: "\n -u,--unquoted Don't quote the output"
//usage: )
//usage: IF_NOT_LONG_OPTS(
-//usage: "\n -a Allow long options starting with single -"
+//usage: " -a Allow long options starting with single -"
//usage: "\n -l longopts Long options to be recognized"
//usage: "\n -n progname The name under which errors are reported"
//usage: "\n -o optstring Short options to be recognized"
//usage: "[-bcCdefnosvx" IF_FEATURE_HEXDUMP_REVERSE("R") "] [FILE]..."
//usage:#define hexdump_full_usage "\n\n"
//usage: "Display FILEs (or stdin) in a user specified format\n"
-//usage: "\nOptions:"
//usage: "\n -b One-byte octal display"
//usage: "\n -c One-byte character display"
//usage: "\n -C Canonical hex+ASCII, 16 bytes per line"
//usage: )
//usage:#define hwclock_full_usage "\n\n"
//usage: "Query and set hardware clock (RTC)\n"
-//usage: "\nOptions:"
//usage: "\n -r Show hardware clock time"
//usage: "\n -s Set system time from hardware clock"
//usage: "\n -w Set hardware clock from system time"
//usage:#define ipcrm_full_usage "\n\n"
//usage: "Upper-case options MQS remove an object by shmkey value.\n"
//usage: "Lower-case options remove an object by shmid value.\n"
-//usage: "\nOptions:"
//usage: "\n -mM Remove memory segment after last detach"
//usage: "\n -qQ Remove message queue"
//usage: "\n -sS Remove semaphore"
//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: " -o OFS Start OFS bytes into FILE"
//usage: "\n -f Show first free loop device"
//usage:
//usage:#define losetup_notes_usage
//usage: "[-c | -l FILE] [-nXX] [-iXX] BLOCKDEV [KBYTES]"
//usage:#define mkfs_minix_full_usage "\n\n"
//usage: "Make a MINIX filesystem\n"
-//usage: "\nOptions:"
//usage: "\n -c Check device for bad blocks"
//usage: "\n -n [14|30] Maximum length of filenames"
//usage: "\n -i INODES Number of inodes for the filesystem"
//usage: "[-f] [-l LABEL] BLOCKDEV [4K-BLOCKS]"
//usage:#define mkfs_reiser_full_usage "\n\n"
//usage: "Make a ReiserFS V3 filesystem\n"
-//usage: "\nOptions:"
//usage: "\n -f Force"
//usage: "\n -l LBL Volume label"
*/
//usage:#define mkfs_vfat_full_usage "\n\n"
//usage: "Make a FAT32 filesystem\n"
-//usage: "\nOptions:"
/* //usage: "\n -c Check device for bad blocks" */
//usage: "\n -v Verbose"
/* //usage: "\n -I Allow to use entire disk device (e.g. /dev/hda)" */
//usage: "[-L LBL] BLOCKDEV [KBYTES]"
//usage:#define mkswap_full_usage "\n\n"
//usage: "Prepare BLOCKDEV to be used as swap partition\n"
-//usage: "\nOptions:"
//usage: "\n -L LBL Label"
#include "libbb.h"
//usage: "[OPTIONS] [-o OPTS] DEVICE NODE"
//usage:#define mount_full_usage "\n\n"
//usage: "Mount a filesystem. Filesystem autodetection requires /proc.\n"
-//usage: "\nOptions:"
//usage: "\n -a Mount all filesystems in fstab"
//usage: IF_FEATURE_MOUNT_FAKE(
//usage: IF_FEATURE_MTAB_SUPPORT(
//usage: "[-sp] HOST"
//usage:#define rdate_full_usage "\n\n"
//usage: "Get and possibly set the system date and time from a remote HOST\n"
-//usage: "\nOptions:"
//usage: "\n -s Set the system date and time (default)"
//usage: "\n -p Print the date and time"
//usage:#define readprofile_trivial_usage
//usage: "[OPTIONS]"
//usage:#define readprofile_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -m mapfile (Default: /boot/System.map)"
+//usage: " -m mapfile (Default: /boot/System.map)"
//usage: "\n -p profile (Default: /proc/profile)"
//usage: "\n -M NUM Set the profiling multiplier to NUM"
//usage: "\n -i Print only info about the sampling step"
//usage:#define script_trivial_usage
//usage: "[-afq" IF_SCRIPTREPLAY("t") "] [-c PROG] [OUTFILE]"
//usage:#define script_full_usage "\n\n"
-//usage: "Options:"
-//usage: "\n -a Append output"
+//usage: " -a Append output"
//usage: "\n -c PROG Run PROG, not shell"
//usage: "\n -f Flush output after each write"
//usage: "\n -q Quiet"
//usage: "[-a]" IF_FEATURE_SWAPON_PRI(" [-p PRI]") " [DEVICE]"
//usage:#define swapon_full_usage "\n\n"
//usage: "Start swapping on DEVICE\n"
-//usage: "\nOptions:"
//usage: "\n -a Start swapping on all swap devices"
//usage: IF_FEATURE_SWAPON_PRI(
//usage: "\n -p PRI Set swap device priority"
//usage: "[-a] [DEVICE]"
//usage:#define swapoff_full_usage "\n\n"
//usage: "Stop swapping on DEVICE\n"
-//usage: "\nOptions:"
//usage: "\n -a Stop swapping on all swap devices"
#include "libbb.h"
//usage: "Free initramfs and switch to another root fs:\n"
//usage: "chroot to NEW_ROOT, delete all in /, move NEW_ROOT to /,\n"
//usage: "execute NEW_INIT. PID must be 1. NEW_ROOT must be a mountpoint.\n"
-//usage: "\nOptions:"
//usage: "\n -c DEV Reopen stdio to DEV after switch"
#include <sys/vfs.h>
//usage: "[OPTIONS] FILESYSTEM|DIRECTORY"
//usage:#define umount_full_usage "\n\n"
//usage: "Unmount file systems\n"
-//usage: "\nOptions:"
//usage: IF_FEATURE_UMOUNT_ALL(
//usage: "\n -a Unmount all file systems" IF_FEATURE_MTAB_SUPPORT(" in /etc/mtab")
//usage: )