make_directory() will fail instantly so we dont need to test for failure here
[oweals/busybox.git] / include / usage.h
index ee697150bde111efbdabe8a011961b49b8e2ecf7..33a81c4671b4c3f2e40c39f958617e0e6ce9ce2e 100644 (file)
 #define passwd_trivial_usage \
        "[OPTION] [name]"
 #define passwd_full_usage \
-       "CChange a user password. If no name is specified,\n" \
+       "Change a user password. If no name is specified,\n" \
        "changes the password for the current user.\n" \
        "Options:\n" \
        "\t-a\tDefine which algorithm shall be used for the password.\n" \
        "Options:\n" \
        "\t-v\tDisplays verbose resource usage information."
 
+#define top_trivial_usage \
+       "[-d <seconds>]"
+#define top_full_usage \
+       "top provides an view of processor activity in real time.\n" \
+       "This utility reads the status for all processes in /proc each <seconds>\n" \
+       "and shows the status for however many processes will fit on the screen.\n" \
+       "This utility will not show processes that are started after program startup,\n" \
+       "but it will show the EXIT status for and PIDs that exit while it is running."
+
 #define touch_trivial_usage \
        "[-c] FILE [FILE ...]"
 #define touch_full_usage \
        "Options:\n" \
        "\t-a\tLock all VTs"
 
+#define watch_trivial_usage \
+       "[-n <seconds>] COMMAND..."
+#define watch_full_usage \
+       "Executes a program periodically.\n" \
+       "Options:\n" \
+       "\t-n\tLoop period in seconds - default is 2." 
+#define watch_example_usage \
+       "$ watch date\n" \
+       "Mon Dec 17 10:31:40 GMT 2000\n" \
+       "Mon Dec 17 10:31:42 GMT 2000\n" \
+       "Mon Dec 17 10:31:44 GMT 2000" 
+
 #define watchdog_trivial_usage \
        "DEV"
 #define watchdog_full_usage \