fix printf warning
[oweals/busybox.git] / include / usage.h
index cd8a5ce715ea1f450a80f6abfc86ea8e562eed3d..128aee2f527e56e08b21cc571817be179e5f4a73 100644 (file)
@@ -4,14 +4,14 @@
 #define addgroup_trivial_usage \
        "[-g GID] group_name [user_name]"
 #define addgroup_full_usage \
-       "Adds a group to the system" \
+       "Adds a group to the system\n\n" \
        "Options:\n" \
        "\t-g GID\t\tspecify gid"
 
 #define adduser_trivial_usage \
        "[OPTIONS] user_name"
 #define adduser_full_usage \
-       "Adds a user to the system" \
+       "Adds a user to the system\n\n" \
        "Options:\n" \
        "\t-h DIR\t\tAssign home directory DIR\n" \
        "\t-g GECOS\tAssign gecos field GECOS\n" \
        "Copies SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n" \
        "\n" \
        "\t-a\tSame as -dpR\n" \
-       "\t-d\tPreserves links\n" \
+       "\t-d,-P\tPreserves links\n" \
+       "\t-H,-L\tDereference all symlinks (implied by default)\n" \
        "\t-p\tPreserves file attributes if possible\n" \
        "\t-f\tforce (implied; ignored) - always set\n" \
        "\t-i\tinteractive, prompt before overwrite\n" \
        "\ti\t\textract\n" \
        "\tm\t\tpreserve mtime\n" \
        "\tt\t\tlist\n" \
+       "\tv\t\tverbose\n" \
        "\tu\t\tunconditional overwrite\n" \
        "\tF\t\tinput from file"
 
        "\t-d [#] -l [#] -S -L logfile -f -b -c dir\n" \
        "\t-d num\tdebug level\n" \
        "\t-l num\tlog level (8 - default)\n" \
-       "\t-S\tlog to syslod (default)\n" \
+       "\t-S\tlog to syslogd (default)\n" \
        "\t-L file\tlog to file\n" \
        "\t-f\trun in fordeground\n" \
        "\t-b\trun in background (default)\n" \
        "\t\t\t`hours', `minutes', or `seconds' for date and,\n" \
        "\t\t\ttime to the indicated precision.\n") \
        "\t-s\t\tSets time described by STRING\n" \
+       "\t-r FILE\t\tDisplays the last modification time of FILE\n" \
        "\t-u\t\tPrints or sets Coordinated Universal Time"
 #define date_example_usage \
        "$ date\n" \
        "o - Pops the value off the top of the stack and uses it to set the output radix.\n" \
        "    Only 10 and 16 are supported."
 #define dc_example_usage \
-       "$ dc 2 2 +\n" \
+       "$ dc 2 2 + p\n" \
        "4\n" \
-       "$ dc 8 8 * 2 2 + /\n" \
+       "$ dc 8 8 \\* 2 2 + / p\n" \
        "16\n" \
-       "$ dc 0 1 and\n" \
+       "$ dc 0 1 and p\n" \
        "0\n" \
-       "$ dc 0 1 or\n" \
+       "$ dc 0 1 or p\n" \
        "1\n" \
-       "$ echo 72 9 div 8 mul | dc\n" \
+       "$ echo 72 9 div 8 mul | dc\n" \
        "64\n"
 
 #define dd_trivial_usage \
        "\t-d\toutput will be in DOS format"
 
 #define dpkg_trivial_usage \
-       "[-iCPru] package_name"
+       "[-ilCPru] [-F option] package_name"
 #define dpkg_full_usage \
        "dpkg is a utility to install, remove and manage Debian packages.\n\n" \
        "Options:\n" \
-       "\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"
+       "\t-i\t\tInstall the package\n" \
+       "\t-l\t\tList of installed packages\n" \
+       "\t-C\t\tConfigure an unpackaged package\n" \
+       "\t-F depends\tIgnore depency problems\n" \
+       "\t-P\t\tPurge all files of a package\n" \
+       "\t-r\t\tRemove all but the configuration files for a package\n" \
+       "\t-u\t\tUnpack a package, but don't configure it"
 
 #define dpkg_deb_trivial_usage \
-       "[-cefItxX] FILE [argument]"
+       "[-cefxX] 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 \
        "Displays the DHCP leases granted by udhcpd.\n\n" \
        "Options:\n" \
        "\t-f,\t--file=FILENAME\tLeases file to load\n" \
-       "\t-r,\t--remaining\tInterepret lease times as time remaing\n" \
-       "\t-a,\t--absolute\tInterepret lease times as expire time"
+       "\t-r,\t--remaining\tInterpret lease times as time remaing\n" \
+       "\t-a,\t--absolute\tInterpret lease times as expire time"
 
 #ifdef CONFIG_FEATURE_FANCY_ECHO
   #define USAGE_FANCY_ECHO(a) a
        "\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" \
+       "$ echo \"Erik is cool\"\n" \
        "Erik is cool\n" \
-       USAGE_FANCY_ECHO("$  echo -e "Erik\\nis\\ncool"\n" \
+       USAGE_FANCY_ECHO("$  echo -e \"Erik\\nis\\ncool\"\n" \
        "Erik\n" \
        "is\n" \
        "cool\n" \
-       "$ echo "Erik\\nis\\ncool"\n" \
+       "$ echo \"Erik\\nis\\ncool\"\n" \
        "Erik\\nis\\ncool\n")
 
 #define env_trivial_usage \
        "\\( and \\) or null; if \\( and \\) are not used, they return the number \n" \
        "of characters matched or 0."
 
+#define fakeidentd_trivial_usage \
+       "[-b ip] [STRING]"
+#define fakeidentd_full_usage \
+       "Returns a set string to auth requests\n\n"\
+       "\t-b\tBind to ip address\n"\
+       "\tSTRING\tThe ident answer string (default is nobody)"
+
 #define false_trivial_usage \
        ""
 #define false_full_usage \
        "\t-n\tDon't verify after format"
 
 #define fdisk_trivial_usage \
-       "[-l] [-v] [-b SSZ] [-u] DISK"
+       "[-luv] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK"
 #define fdisk_full_usage \
        "Change partition table\n" \
        "Options:\n" \
        "\t-u  Give Start and End in sector (instead of cylinder) units\n" \
        "\t-s PARTITION  Give partition size(s) in blocks\n" \
        "\t-b 2048: (for certain MO disks) use 2048-byte sectors\n" \
+       "\t-C CYLINDERS  Set the number of cylinders\n" \
+       "\t-H HEADS  Set the number of heads\n" \
+       "\t-S SECTORS  Set the number of sectors\n" \
        "\t-v  Give fdisk version"
 
 #ifdef CONFIG_FEATURE_FIND_TYPE
        "\t-Q, --quiet-output           No normal output\n" \
        "\t-s, --shell=shell            Set shell quoting conventions\n" \
        "\t-T, --test                   Test for getopt(1) version\n" \
-       "\t-u, --unqote                 Do not quote the output"
+       "\t-u, --unquoted               Do not quote the output"
 #define getopt_example_usage \
         "$ cat getopt.test\n" \
         "#!/bin/sh\n" \
         "GETOPT=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \\\n" \
-        "       -n 'example.busybox' -- "$@"`\n" \
+        "       -n 'example.busybox' -- \"$@\"`\n" \
         "if [ $? != 0 ] ; then  exit 1 ; fi\n" \
         "eval set -- "$GETOPT"\n" \
         "while true ; do\n" \
        "Uncompress FILE (or standard input if FILE is '-').\n\n" \
        "Options:\n" \
        "\t-c\tWrite output to standard output\n" \
+       "\t-f\tForce read when source is a terminal\n" \
        "\t-t\tTest compressed file integrity"
 #define gunzip_example_usage \
        "$ ls -la /tmp/BusyBox*\n" \
        "When FILE is '-' or unspecified, reads standard input.  Implies -c.\n\n" \
        "Options:\n" \
        "\t-c\tWrite output to standard output instead of FILE.gz\n" \
-       "\t-d\tdecompress"
+       "\t-d\tDecompress\n" \
+       "\t-f\tForce write when destination is a terminal"
 #define gzip_example_usage \
        "$ ls -la /tmp/busybox*\n" \
        "-rw-rw-r--    1 andersen andersen  1761280 Apr 14 17:47 /tmp/busybox.tar\n" \
        "-rw-rw-r--    1 andersen andersen   554058 Apr 14 17:49 /tmp/busybox.tar.gz\n"
 
 #define halt_trivial_usage \
-       ""
+       "[-d<delay>]"
 #define halt_full_usage \
-       "Halt the system."
+       "Halt the system.\n" \
+       "Options:\n" \
+       "\t-d\t\tdelay interval for halting."
 
 #ifdef CONFIG_FEATURE_HDPARM_GET_IDENTITY
 #define USAGE_HDPARM_IDENT(a) a
        USAGE_HTTPD_SETUID(" [-u user]") \
        USAGE_HTTPD_BASIC_AUTH(" [-r <realm>]") \
        USAGE_HTTPD_AUTH_MD5(" [-m pass]") \
+       " [-h home]" \
        " [-d/-e <string>]"
 #define httpd_full_usage \
        "Listens for incoming http server requests.\n\n"\
        USAGE_HTTPD_SETUID("\t-u USER\tSet uid to USER after listening privileges port\n") \
        USAGE_HTTPD_BASIC_AUTH("\t-r REALM\tAuthentication Realm for Basic Authentication\n") \
        USAGE_HTTPD_AUTH_MD5("\t-m PASS\t\tCrypt PASS with md5 algorithm\n") \
+       "\t-h HOME  \tSpecifies http HOME directory (default ./)\n" \
        "\t-e STRING\tHtml encode STRING\n" \
        "\t-d STRING\tURL decode STRING"
 
 "\n" \
 "      <process>:\n" \
 "\n" \
-"              Specifies the process to be executed and it's command line.\n" \
+"              Specifies the process to be executed and its command line.\n" \
 "\n" \
 "Example /etc/inittab file:\n" \
 "\n" \
        "\t-f\tForce module to load into the wrong kernel version.\n" \
        "\t-k\tMake module autoclean-able.\n" \
        "\t-v\tverbose output\n"  \
+       "\t-q\tquiet output\n" \
        "\t-L\tLock to prevent simultaneous loads of a module\n" \
        USAGE_INSMOD_MAP("\t-m\tOutput load map to stdout\n") \
        "\t-o NAME\tSet internal module name to NAME\n" \
        "Copies files and set attributes\n\n" \
        "Options:\n" \
        "\t-c\tcopy the file, default\n" \
+       "\t-d\tcreate directories\n" \
        "\t-g\tset group ownership\n" \
        "\t-m\tset permission modes\n" \
        "\t-o\tset ownership\n" \
        "$ kill 252\n"
 
 #define killall_trivial_usage \
-       "[-signal] process-name [process-name ...]"
+       "[-q] [-signal] process-name [process-name ...]"
 #define killall_full_usage \
        "Send a signal (default is SIGTERM) to the specified process(es).\n\n"\
        "Options:\n" \
-       "\t-l\tList all signal names and numbers."
+       "\t-l\tList all signal names and numbers.\n"\
+       "\t-q\tDo not complain if no processes were killed."
 #define killall_example_usage \
        "$ killall apache\n"
 
        "\ty\tAllow write access to your terminal.\n" \
        "\tn\tDisallow write access to your terminal.\n"
 
-#define minit_trivial_usage \
-       "[-spPrRC]"
-#define minit_full_usage \
-       "A small replacement for SysV init"
-
 #define mkdir_trivial_usage \
        "[OPTION] DIRECTORY..."
 #define mkdir_full_usage \
        "\tblock-count\tNumber of block to use (default is entire partition)."
 
 #define mktemp_trivial_usage \
-       "[-q] TEMPLATE"
+       "[-dq] TEMPLATE"
 #define mktemp_full_usage \
        "Creates a temporary file with its name based on TEMPLATE.\n" \
-       "TEMPLATE is any name with six `Xs' (i.e., /tmp/temp.XXXXXX)."
+       "TEMPLATE is any name with six `Xs' (i.e., /tmp/temp.XXXXXX).\n\n" \
+       "Options:\n" \
+       "\t-d\t\tMake a directory instead of a file\n" \
+       "\t-q\t\tFail silently if an error occurs"
 #define mktemp_example_usage \
        "$ mktemp /tmp/temp.XXXXXX\n" \
        "/tmp/temp.mWiLjM\n" \
        "-rw-------    1 andersen andersen        0 Apr 25 17:10 /tmp/temp.mWiLjM\n"
 
 #define modprobe_trivial_usage \
-       "[FILE ...]"
+       "[-knqrsv] [MODULE ...]"
 #define modprobe_full_usage \
-       "Used for high level module loading and unloading."
+       "Used for high level module loading and unloading.\n\n" \
+       "Options:\n" \
+       "\t-k\tMake module autoclean-able.\n" \
+       "\t-n\tJust show what would be done.\n" \
+       "\t-q\tQuiet output.\n" \
+       "\t-r\tRemove module (stacks) or do autoclean.\n" \
+       "\t-s\tReport via syslog instead of stderr.\n" \
+       "\t-v\tVerbose output."
 #define modprobe_example_usage \
        "$ modprobe cdrom\n"
 
        "$ mount /dev/fd0 /mnt -t msdos -o ro\n" \
        "$ mount /tmp/diskimage /opt -t ext2 -o loop\n"
 
-#define msvc_trivial_usage \
-       "-[udorspchaitkx] service"
-#define msvc_full_usage \
-       "[option] service\n" \
-       "Where option is one of\n" \
-       "\t-u\tUp.  If the service is not running, start it.  If the service stops, restart it.\n" \
-       "\t-d\tDown.  If the service is running, stop it, do not restart it.\n" \
-       "\t-o\tOnce.  If the service is not running, start it.  Do not restart it if it stops.\n" \
-       "\t-r\tTell supervise that the service is normally running; this affects status messages.\n" \
-       "\t-s\tTell supervise that the service is normally stopped; this affects status messages.\n" \
-       "\t-p\tPause.  Send the service a STOP signal.\n" \
-       "\t-c\tContinue.  Send the service a CONT signal.\n" \
-       "\t-h\tHangup.  Send the service a HUP signal.\n" \
-       "\t-a\tAlarm.  Send the service an ALRM signal.\n" \
-       "\t-i\tInterrupt.  Send the service an INT signal.\n" \
-       "\t-t\tTerminate.  Send the service a TERM signal.\n" \
-       "\t-k\tKill.  Send the service a KILL signal.\n" \
-       "\t-x\tExit.  supervise will quit as soon as the service is down."
-
 #define mt_trivial_usage \
        "[-f device] opcode value"
 #define mt_full_usage \
        "setpart tell unload unlock weof wset"
 
 #define mv_trivial_usage \
-       "SOURCE DEST\n" \
-       "or: mv SOURCE... DIRECTORY"
+       "[OPTION]... SOURCE DEST\n" \
+       "or: mv [OPTION]... SOURCE... DIRECTORY"
 #define mv_full_usage \
-       "Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY."
+       "Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY.\n\n" \
+       "Options:\n" \
+       "\t-f\tdon't prompt before overwriting\n" \
+       "\t-i\tinteractive, prompt before overwrite"
 #define mv_example_usage \
        "$ mv /tmp/foo /bin/bar\n"
 
        "\t-w raw sockets\n" \
        "\t-x unix sockets"
 
+#define nice_trivial_usage \
+       "[-n ADJUST] [COMMAND [ARG] ...]"
+#define nice_full_usage \
+       "Nice runs a program with modified scheduling priority.\n\n" \
+       "Options:\n" \
+       "\t-n ADJUST\tAdjust the scheduling priority by ADJUST.\n" \
+
 #define nslookup_trivial_usage \
        "[HOST] [SERVER]"
 #define nslookup_full_usage \
 #define patch_example_usage \
        "$ patch -p1 <example.diff"
 
-#define pidfilehack_trivial_usage \
-       "[daemon.pid] [daemon]"
-#define pidfilehack_full_usage \
-       "service /var/run/daemon.pid /usr/sbin/daemon args...\n"
-
 #define pidof_trivial_usage \
-       "process-name [process-name ...]"
+       "process-name [OPTION] [process-name ...]"
 #define pidof_full_usage \
        "Lists the PIDs of all processes with names that match the\n" \
-       "names on the command line"
+       "names on the command line.\n" \
+       "Options:\n" \
+       "\t-s\t\tdisplay only a single PID."
 #define pidof_example_usage \
        "$ pidof init\n" \
        "1\n"
        "the new root file system."
 
 #define poweroff_trivial_usage \
-       ""
+       "[-d<delay>]"
 #define poweroff_full_usage \
-       "Halt the system and request that the kernel shut off the power."
+       "Halt the system and request that the kernel shut off the power.\n" \
+       "Options:\n" \
+       "\t-d\t\tdelay interval for shutting off."
 
 #define printf_trivial_usage \
        "FORMAT [ARGUMENT...]"
        "Formats and prints ARGUMENT(s) according to FORMAT,\n" \
        "Where FORMAT controls the output exactly as in C printf."
 #define printf_example_usage \
-       "$ printf "Val=%d\\n" 5\n" \
+       "$ printf \"Val=%d\\n\" 5\n" \
        "Val=5\n"
 
 #ifdef CONFIG_SELINUX
        "$ pwd\n" \
        "/root\n"
 
-#define raid_start_trivial_usage \
-       "MD_DEVICE DISK_DEVICE"
-#define raid_start_full_usage \
-       "Start MD_DEVICE, taking superblock from DISK_DEVICE.\n" \
-       "Example: raid_start /dev/md0 /dev/sdb"
-
 #define rdate_trivial_usage \
        "[-sp] HOST"
 #define rdate_full_usage \
        "\t-s\tSet the system date and time (default).\n" \
        "\t-p\tPrint the date and time."
 
+#ifdef CONFIG_FEATURE_READLINK_FOLLOW
+#define USAGE_READLINK_FOLLOW(a) a
+#else
+#define USAGE_READLINK_FOLLOW(a)
+#endif
+
 #define readlink_trivial_usage \
-       ""
+       USAGE_READLINK_FOLLOW("[-f] ") "FILE"
 #define readlink_full_usage \
-       "Displays the value of a symbolic link."
+       "Displays the value of a symbolic link." \
+       USAGE_READLINK_FOLLOW("\n\nOptions:\n" \
+       "\t-f\tcanonicalize by following all symlinks")
 
 #define realpath_trivial_usage \
        "pathname  ..."
        "Returns the absolute pathnames of given argument."
 
 #define reboot_trivial_usage \
-       ""
+       "[-d<delay>]"
 #define reboot_full_usage \
-       "Reboot the system."
+       "Reboot the system.\n" \
+       "Options:\n" \
+       "\t-d\t\tdelay interval for rebooting."
 
 #define renice_trivial_usage \
-       "priority pid [pid ...]"
+       "{{-n INCREMENT} | PRIORITY} [[ -p | -g | -u ] ID ...]"
 #define renice_full_usage \
-       "Changes priority of running processes. Allowed priorities range\n" \
-       "from 20 (the process runs only when nothing else is running) to 0\n" \
-       "(default priority) to -20 (almost nothing else ever gets to run)."
+       "Changes priority of running processes.\n\n" \
+       "Options:\n" \
+       "\t-n\tadjusts current nice value (smaller is faster)\n" \
+       "\t-p\tprocess id(s) (default)\n" \
+       "\t-g\tprocess group id(s)\n" \
+       "\t-u\tprocess user name(s) and/or id(s)"
 
 #define reset_trivial_usage \
        ""
        "$ rx /tmp/foo\n"
 
 #define sed_trivial_usage \
-       "[-nef] pattern [files...]"
+       "[-efinr] pattern [files...]"
 #define sed_full_usage \
        "Options:\n" \
-       "\t-n\t\tsuppress automatic printing of pattern space\n" \
        "\t-e script\tadd the script to the commands to be executed\n" \
        "\t-f scriptfile\tadd script-file contents to the\n" \
            "\t\t\tcommands to be executed\n" \
-       "\t-i\t\tEdit files in-place\n" \
+       "\t-i\t\tedit files in-place\n" \
+       "\t-n\t\tsuppress automatic printing of pattern space\n" \
+       "\t-r\t\tuse extended regular expression syntax\n" \
        "\n" \
        "If no -e or -f is given, the first non-option argument is taken as the sed\n"\
        "script to interpret. All remaining arguments are names of input files; if no\n"\
        USAGE_FANCY_SLEEP("$ sleep 1d 3h 22m 8s\n" \
        "[98528 second delay results]\n")
 
-#ifdef CONFIG_FEATURE_SORT_UNIQUE
-  #define USAGE_SORT_UNIQUE(a) a
+#ifdef CONFIG_SORT_BIG
+  #define USAGE_SORT_BIG(a) a
 #else
-  #define USAGE_SORT_UNIQUE(a)
-#endif
-#ifdef CONFIG_FEATURE_SORT_REVERSE
-  #define USAGE_SORT_REVERSE(a) a
-#else
-  #define USAGE_SORT_REVERSE(a)
+  #define USAGE_SORT_BIG(a)
 #endif
+
+
 #define sort_trivial_usage \
-       "[-n" USAGE_SORT_REVERSE("r") USAGE_SORT_UNIQUE("u") "] [FILE]..."
+       "[-nru" USAGE_SORT_BIG("gMcszbdfimSTokt] [-o outfile] [-k start[.offset][opts][,end[.offset][opts]] [-t char") "] [FILE]..."
 #define sort_full_usage \
        "Sorts lines of text in the specified files\n\n"\
        "Options:\n" \
-       USAGE_SORT_UNIQUE("\t-u\tsuppress duplicate lines\n") \
-       USAGE_SORT_REVERSE("\t-r\tsort in reverse order\n") \
-       "\t-n\tsort numerics"
+       USAGE_SORT_BIG( \
+               "\t-b\tignore leading blanks\n" \
+               "\t-c\tcheck whether input is sorted\n" \
+               "\t-d\tdictionary order (blank or alphanumeric only)\n" \
+               "\t-f\tignore case\n" \
+               "\t-g\tgeneral numerical sort\n" \
+               "\t-i\tignore unprintable characters\n" \
+               "\t-k\tspecify sort key\n" \
+               "\t-M\tsort month\n" \
+       ) \
+       "\t-n\tsort numbers\n" \
+       USAGE_SORT_BIG( \
+               "\t-o\toutput to file\n" \
+               "\t-k\tsort by key\n" \
+               "\t-t\tuse key separator other than whitespace\n" \
+       ) \
+       "\t-r\treverse sort order\n" \
+       USAGE_SORT_BIG("\t-s\tstable (don't sort ties alphabetically)\n") \
+       "\t-u\tsuppress duplicate lines" \
+       USAGE_SORT_BIG("\n\t-z\tinput terminated by nulls, not newlines\n") \
+       USAGE_SORT_BIG("\t-mST\tignored for GNU compatability") \
+       ""
 #define sort_example_usage \
        "$ echo -e \"e\\nf\\nb\\nd\\nc\\na\" | sort\n" \
        "a\n" \
        "c\n" \
        "d\n" \
        "e\n" \
-       "f\n"
+       "f\n" \
+       USAGE_SORT_BIG( \
+               "$ echo -e \"c 3\\nb 2\\nd 2\" | $SORT -k 2,2n -k 1,1r\n" \
+               "d 2\n" \
+               "b 2\n" \
+               "c 3\n" \
+       ) \
+       ""
+       
 
 #define start_stop_daemon_trivial_usage \
        "[OPTIONS] [--start|--stop] ... [-- arguments...]\n"
 #define strings_full_usage \
        "Display printable strings in a binary file." \
        "\n\nOptions:" \
+       "\n\t-a\tScan the whole files (this is the default)."\
        "\n\t-f\tPrecede each string with the name of the file where it was found." \
        "\n\t-n N\tSpecifies that at least N characters forms a sequence (default 4)" \
        "\n\t-o\tEach string is preceded by its decimal offset in the file."
        "sysctl - configure kernel parameters at runtime\n\n" \
        "Options:\n" \
        "\t-n\tUse this option to disable printing of the key name when printing values.\n" \
-       "\t-e\tUse this option to ignore errors about unknown keys.\n" \
        "\t-w\tUse this option when you want to change a sysctl setting.\n" \
        "\t-p\tLoad in sysctl settings from the file specified or /etc/sysctl.conf if none given.\n" \
        "\t-a\tDisplay all values currently available.\n" \
        "\t-A\tDisplay all values currently available in table form."
 #define sysctl_example_usage
-       "sysctl [-n] [-e] variable ...\n" \
-       "sysctl [-n] [-e] -w variable=value ...\n" \
-       "sysctl [-n] [-e] -a\n" \
-       "sysctl [-n] [-e] -p <file>\t(default /etc/sysctl.conf)\n" \
-       "sysctl [-n] [-e] -A\n"
+       "sysctl [-n] variable ...\n" \
+       "sysctl [-n] -w variable=value ...\n" \
+       "sysctl [-n] -a\n" \
+       "sysctl [-n] -p <file>\t(default /etc/sysctl.conf)\n" \
+       "sysctl [-n] -A\n"
 #endif
 
 #define syslogd_trivial_usage \
        "Options:\n" \
        "\t-m MIN\t\tMinutes between MARK lines (default=20, 0=off)\n" \
        "\t-n\t\tRun as a foreground process\n" \
-       "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)" \
+       "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)\n" \
+       "\t-S\t\tMake logging output smaller." \
        USAGE_ROTATE_LOGFILE( \
        "\n\t-s SIZE\t\tMax size (KB) before rotate (default=200KB, 0=off)\n" \
        "\t-b NUM\t\tNumber of rotated logs to keep (default=1, max=99, 0=purge)") \
 #define telnetd_full_usage \
        "Telnetd uses incoming TELNET connections via inetd.\n"\
        "Options:\n" \
-       "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)"
+       "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)\n" \
+       "\t-f issue_file\tDisplay issue_file instead of /etc/issue."
 #else
 #define telnetd_trivial_usage \
        "[OPTION]"
        "Telnetd listens for incoming TELNET connections on PORT.\n"\
        "Options:\n" \
        "\t-p PORT\tlisten for connections on PORT (default 23)\n"\
-       "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)"
+       "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)\n"\
+       "\t-f issue_file\tDisplay issue_file instead of /etc/issue."
 #endif
 
 #define test_trivial_usage \