📄 usage.h
字号:
#define adjtimex_trivial_usage \ "[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]"#define adjtimex_full_usage \ "Reads and optionally sets system timebase parameters.\n" \ "See adjtimex(2).\n\n" \ "Options:\n" \ "\t-q\t\tquiet mode - do not print\n" \ "\t-o offset\ttime offset, microseconds\n" \ "\t-f frequency\tfrequency adjust, integer kernel units (65536 is 1ppm)\n" \ "\t\t\t(positive values make the system clock run fast)\n" \ "\t-t tick\t\tmicroseconds per tick, usually 10000\n" \ "\t-p timeconstant\n"#define ar_trivial_usage \ "-[ov][ptx] ARCHIVE FILES"#define ar_full_usage \ "Extract or list FILES from an ar archive.\n\n" \ "Options:\n" \ "\t-o\t\tpreserve original dates\n" \ "\t-p\t\textract to stdout\n" \ "\t-t\t\tlist\n" \ "\t-x\t\textract\n" \ "\t-v\t\tverbosely list files processed\n"#define basename_trivial_usage \ "FILE [SUFFIX]"#define basename_full_usage \ "Strips directory path and suffixes from FILE.\n" \ "If specified, also removes any trailing SUFFIX."#define basename_example_usage \ "$ basename /usr/local/bin/foo\n" \ "foo\n" \ "$ basename /usr/local/bin/\n" \ "bin\n" \ "$ basename /foo/bar.txt .txt\n" \ "bar"#define cat_trivial_usage \ "[FILE]..."#define cat_full_usage \ "Concatenates FILE(s) and prints them to stdout."#define cat_example_usage \ "$ cat /proc/uptime\n" \ "110716.72 17.67"#define chgrp_trivial_usage \ "[OPTION]... GROUP FILE..."#define chgrp_full_usage \ "Change the group membership of each FILE to GROUP.\n" \ "\nOptions:\n" \ "\t-R\tChanges files and directories recursively."#define chgrp_example_usage \ "$ ls -l /tmp/foo\n" \ "-r--r--r-- 1 andersen andersen 0 Apr 12 18:25 /tmp/foo\n" \ "$ chgrp root /tmp/foo\n" \ "$ ls -l /tmp/foo\n" \ "-r--r--r-- 1 andersen root 0 Apr 12 18:25 /tmp/foo\n"#define chmod_trivial_usage \ "[-R] MODE[,MODE]... FILE..."#define chmod_full_usage \ "Each MODE is one or more of the letters ugoa, one of the\n" \ "symbols +-= and one or more of the letters rwxst.\n\n" \ "Options:\n" \ "\t-R\tChanges files and directories recursively."#define chmod_example_usage \ "$ ls -l /tmp/foo\n" \ "-rw-rw-r-- 1 root root 0 Apr 12 18:25 /tmp/foo\n" \ "$ chmod u+x /tmp/foo\n" \ "$ ls -l /tmp/foo\n" \ "-rwxrw-r-- 1 root root 0 Apr 12 18:25 /tmp/foo*\n" \ "$ chmod 444 /tmp/foo\n" \ "$ ls -l /tmp/foo\n" \ "-r--r--r-- 1 root root 0 Apr 12 18:25 /tmp/foo\n"#define chown_trivial_usage \ "[ -Rh ]... OWNER[<.|:>[GROUP]] FILE..."#define chown_full_usage \ "Change the owner and/or group of each FILE to OWNER and/or GROUP.\n" \ "\nOptions:\n" \ "\t-R\tChanges files and directories recursively.\n" \ "\t-h\tDo not dereference symbolic links."#define chown_example_usage \ "$ ls -l /tmp/foo\n" \ "-r--r--r-- 1 andersen andersen 0 Apr 12 18:25 /tmp/foo\n" \ "$ chown root /tmp/foo\n" \ "$ ls -l /tmp/foo\n" \ "-r--r--r-- 1 root andersen 0 Apr 12 18:25 /tmp/foo\n" \ "$ chown root.root /tmp/foo\n" \ "ls -l /tmp/foo\n" \ "-r--r--r-- 1 root root 0 Apr 12 18:25 /tmp/foo\n"#define chroot_trivial_usage \ "NEWROOT [COMMAND...]"#define chroot_full_usage \ "Run COMMAND with root directory set to NEWROOT."#define chroot_example_usage \ "$ ls -l /bin/ls\n" \ "lrwxrwxrwx 1 root root 12 Apr 13 00:46 /bin/ls -> /BusyBox\n" \ "$ mount /dev/hdc1 /mnt -t minix\n" \ "$ chroot /mnt\n" \ "$ ls -l /bin/ls\n" \ "-rwxr-xr-x 1 root root 40816 Feb 5 07:45 /bin/ls*\n"#define chvt_trivial_usage \ "N"#define chvt_full_usage \ "Changes the foreground virtual terminal to /dev/ttyN"#define clear_trivial_usage \ ""#define clear_full_usage \ "Clear screen."#define cmp_trivial_usage \ "FILE1 [FILE2]"#define cmp_full_usage \ "\t-s\tquiet mode - do not print\n" \ "Compare files."#define cp_trivial_usage \ "[OPTION]... SOURCE DEST"#define cp_full_usage \ "Copies SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n" \ "\n" \ "\t-a\tSame as -dpR\n" \ "\t-d\tPreserves links\n" \ "\t-p\tPreserves file attributes if possible\n" \ "\t-f\tforce (implied; ignored) - always set\n" \ "\t-R\tCopies directories recursively"#define cpio_trivial_usage \ "-[dimtuv][F cpiofile]"#define cpio_full_usage \ "Extract or list files from a cpio archive\n" \ "Main operation mode:\n" \ "\td\t\tmake leading directories\n" \ "\ti\t\textract\n" \ "\tm\t\tpreserve mtime\n" \ "\tt\t\tlist\n" \ "\tu\t\tunconditional overwrite\t" \ "\tF\t\tinput from file\t" #define cut_trivial_usage \ "[OPTION]... [FILE]..."#define cut_full_usage \ "Prints selected fields from each input FILE to standard output.\n\n" \ "Options:\n" \ "\t-b LIST\t\tOutput only bytes from LIST\n" \ "\t-c LIST\t\tOutput only characters from LIST\n" \ "\t-d CHAR\t\tUse CHAR instead of tab as the field delimiter\n" \ "\t-s\t\tOutput only the lines containing delimiter\n" \ "\t-f N\t\tPrint only these fields\n" \ "\t-n\t\tIgnored"#define cut_example_usage \ "$ echo "Hello world" | cut -f 1 -d ' '\n" \ "Hello\n" \ "$ echo "Hello world" | cut -f 2 -d ' '\n" \ "world\n"#define date_trivial_usage \ "[OPTION]... [+FORMAT]"#define date_full_usage \ "Displays the current time in the given FORMAT, or sets the system date.\n" \ "\nOptions:\n" \ "\t-R\t\tOutputs RFC-822 compliant date string\n" \ "\t-d STRING\tdisplay time described by STRING, not `now'\n" \ "\t-s\t\tSets time described by STRING\n" \ "\t-u\t\tPrints or sets Coordinated Universal Time"#define date_example_usage \ "$ date\n" \ "Wed Apr 12 18:52:41 MDT 2000\n"#define dc_trivial_usage \ "expression ..."#define dc_full_usage \ "This is a Tiny RPN calculator that understands the\n" \ "following operations: +, -, /, *, and, or, not, eor.\n" \ "i.e., 'dc 2 2 add' -> 4, and 'dc 8 8 \\* 2 2 + /' -> 16"#define dc_example_usage \ "$ dc 2 2 +\n" \ "4\n" \ "$ dc 8 8 \* 2 2 + /\n" \ "16\n" \ "$ dc 0 1 and\n" \ "0\n" \ "$ dc 0 1 or\n" \ "1\n" \ "$ echo 72 9 div 8 mul | dc\n" \ "64\n"#define dd_trivial_usage \ "[if=FILE] [of=FILE] [bs=N] [count=N] [skip=N]\n" \ "\t [seek=N] [conv=notrunc|noerror|sync]"#define dd_full_usage \ "Copy a file, converting and formatting according to options\n\n" \ "\tif=FILE\t\tread from FILE instead of stdin\n" \ "\tof=FILE\t\twrite to FILE instead of stdout\n" \ "\tbs=N\t\tread and write N bytes at a time\n" \ "\tcount=N\t\tcopy only N input blocks\n" \ "\tskip=N\t\tskip N input blocks\n" \ "\tseek=N\t\tskip N output blocks\n" \ "\tconv=notrunc\tdon't truncate output file\n" \ "\tconv=noerror\tcontinue after read errors\n" \ "\tconv=sync\tpad blocks with zeros\n" \ "\n" \ "Numbers may be suffixed by c (x1), w (x2), b (x512), kD (x1000), k (x1024),\n" \ "MD (x1000000), M (x1048576), GD (x1000000000) or G (x1073741824)."#define dd_example_usage \ "$ dd if=/dev/zero of=/dev/ram1 bs=1M count=4\n" \ "4+0 records in\n" \ "4+0 records out\n"#define deallocvt_trivial_usage \ "N"#define deallocvt_full_usage \ "Deallocate unused virtual terminal /dev/ttyN"#ifdef BB_FEATURE_HUMAN_READABLE #define USAGE_HUMAN_READABLE(a) a #define USAGE_NOT_HUMAN_READABLE(a)#else #define USAGE_HUMAN_READABLE(a) #define USAGE_NOT_HUMAN_READABLE(a) a#endif#define df_trivial_usage \ "[-" USAGE_HUMAN_READABLE("hm") USAGE_NOT_HUMAN_READABLE("") "k] [FILESYSTEM ...]"#define df_full_usage \ "Print the filesystem space used and space available.\n\n" \ "Options:\n" \ USAGE_HUMAN_READABLE( \ "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \ "\t-m\tprint sizes in megabytes\n" \ "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \ "\n\t-k\tprint sizes in kilobytes(compatibility)")#define df_example_usage \ "$ df\n" \ "Filesystem 1k-blocks Used Available Use% Mounted on\n" \ "/dev/sda3 8690864 8553540 137324 98% /\n" \ "/dev/sda1 64216 36364 27852 57% /boot\n" \ "$ df /dev/sda3\n" \ "Filesystem 1k-blocks Used Available Use% Mounted on\n" \ "/dev/sda3 8690864 8553540 137324 98% /\n"#define dirname_trivial_usage \ "[FILENAME ...]"#define dirname_full_usage \ "Strips non-directory suffix from FILENAME"#define dirname_example_usage \ "$ dirname /tmp/foo\n" \ "/tmp\n" \ "$ dirname /tmp/foo/\n" \ "/tmp\n"#define dmesg_trivial_usage \ "[-c] [-n LEVEL] [-s SIZE]"#define dmesg_full_usage \ "Prints or controls the kernel ring buffer\n\n" \ "Options:\n" \ "\t-c\t\tClears the ring buffer's contents after printing\n" \ "\t-n LEVEL\tSets console logging level\n" \ "\t-s SIZE\t\tUse a buffer of size SIZE"#define dos2unix_trivial_usage \ "[option] [FILE]"#define dos2unix_full_usage \ "Converts FILE from dos format to unix format. When no option\n" \ "is given, the input is converted to the opposite output format.\n" \ "When no file is given, uses stdin for input and stdout for output.\n\n" \ "Options:\n" \ "\t-u\toutput will be in UNIX format\n" \ "\t-d\toutput will be in DOS format"#define dpkg_trivial_usage \ "-i package_file\n" \ "[-CPru] package_name"#define dpkg_full_usage \ "\t-i\tInstall the package\n" \ "\t-C\tConfigure an unpackaged package\n" \ "\t-P\tPurge all files of a package\n" \ "\t-r\tRemove all but the configuration files for a package\n" \ "\t-u\tUnpack a package, but dont configure it\n"#define dpkg_deb_trivial_usage \ "[-cefItxX] FILE [argument]"#define dpkg_deb_full_usage \ "Perform actions on debian packages (.debs)\n\n" \ "Options:\n" \ "\t-c\tList contents of filesystem tree\n" \ "\t-e\tExtract control files to [argument] directory\n" \ "\t-f\tDisplay control field name starting with [argument]\n" \ "\t-I\tDisplay the control filenamed [argument]\n" \ "\t-t\tExtract filesystem tree to stdout in tar format\n" \ "\t-x\tExtract packages filesystem tree to directory\n" \ "\t-X\tVerbose extract"#define dpkg_deb_example_usage \ "$ dpkg-deb -X ./busybox_0.48-1_i386.deb /tmp\n"#define du_trivial_usage \ "[-lsx" USAGE_HUMAN_READABLE("hm") USAGE_NOT_HUMAN_READABLE("") "k] [FILE]..."#define du_full_usage \ "Summarizes disk space used for each FILE and/or directory.\n" \ "Disk space is printed in units of 1024 bytes.\n\n" \ "Options:\n" \ "\t-l\tcount sizes many times if hard linked\n" \ "\t-s\tdisplay only a total for each argument" \ USAGE_HUMAN_READABLE( \ "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \ "\t-m\tprint sizes in megabytes\n" \ "\t-x\tskip directories on different filesystems\n" \ "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \ "\n\t-k\tprint sizes in kilobytes(compatibility)")#define du_example_usage \ "$ du\n" \ "16 ./CVS\n" \ "12 ./kernel-patches/CVS\n" \ "80 ./kernel-patches\n" \ "12 ./tests/CVS\n" \ "36 ./tests\n" \ "12 ./scripts/CVS\n" \ "16 ./scripts\n" \ "12 ./docs/CVS\n" \ "104 ./docs\n" \ "2417 .\n"#define dumpkmap_trivial_usage \ "> keymap"#define dumpkmap_full_usage \ "Prints out a binary keyboard translation table to standard output."#define dumpkmap_example_usage \ "$ dumpkmap > keymap\n"#define dutmp_trivial_usage \ "[FILE]"#define dutmp_full_usage \ "Dump utmp file format (pipe delimited) from FILE\n" \ "or stdin to stdout. (i.e., 'dutmp /var/run/utmp')"#define dutmp_example_usage \ "$ dutmp /var/run/utmp\n" \ "8|7||si|||0|0|0|955637625|760097|0\n" \ "2|0|~|~~|reboot||0|0|0|955637625|782235|0\n" \ "1|20020|~|~~|runlevel||0|0|0|955637625|800089|0\n" \ "8|125||l4|||0|0|0|955637629|998367|0\n" \ "6|245|tty1|1|LOGIN||0|0|0|955637630|998974|0\n" \ "6|246|tty2|2|LOGIN||0|0|0|955637630|999498|0\n" \ "7|336|pts/0|vt00andersen|andersen|:0.0|0|0|0|955637763|0|0\n"#define echo_trivial_usage \ "[-neE] [ARG ...]"#define echo_full_usage \ "Prints the specified ARGs to stdout\n\n" \ "Options:\n" \ "\t-n\tsuppress trailing newline\n" \ "\t-e\tinterpret backslash-escaped characters (i.e., \\t=tab)\n" \ "\t-E\tdisable interpretation of backslash-escaped characters"#define echo_example_usage \ "$ echo "Erik is cool"\n" \ "Erik is cool\n" \ "$ echo -e "Erik\\nis\\ncool"\n" \ "Erik\n" \ "is\n" \ "cool\n" \ "$ echo "Erik\\nis\\ncool"\n" \ "Erik\\nis\\ncool\n"#define env_trivial_usage \ "[-iu] [-] [name=value]... [command]"#define env_full_usage \ "Prints the current environment or runs a program after setting\n" \ "up the specified environment.\n\n" \ "Options:\n" \ "\t-, -i\tstart with an empty environment\n" \ "\t-u\tremove variable from the environment\n"#define expr_trivial_usage \
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -