X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fusage.h;h=33a81c4671b4c3f2e40c39f958617e0e6ce9ce2e;hb=924f93e848c507c92beb1b106c7c52e428d3c2c2;hp=12289ad5b2c4aab74e2f0b7ee7059e1f60c30341;hpb=7a32aaacd02c7f4035b0894aced7860658703985;p=oweals%2Fbusybox.git diff --git a/include/usage.h b/include/usage.h index 12289ad5b..33a81c467 100644 --- a/include/usage.h +++ b/include/usage.h @@ -1149,6 +1149,13 @@ "busybox: OK\n" \ "^D\n" +#define mesg_trivial_usage \ + "mesg [y|n]" +#define mesg_full_usage \ + "mesg [Y|N], controls write access to your terminal\n" \ + "\ty\tAllow write access to your terminal.\n" \ + "\tn\tDisallow write access to your terminal.\n" + #define mkdir_trivial_usage \ "[OPTION] DIRECTORY..." #define mkdir_full_usage \ @@ -1347,6 +1354,13 @@ "Write an unambiguous representation, octal bytes by default, of FILE\n"\ "to standard output. With no FILE, or when FILE is -, read standard input." +#define openvt_trivial_usage \ + " [ARGS...]" +#define openvt_full_usage \ + "Start a command on a new virtual terminal" +#define openvt_example_usage \ + "openvt 2 /bin/ash\n" + #ifdef CONFIG_FEATURE_SHA1_PASSWORDS #define PASSWORD_ALG_TYPES(a) a #else @@ -1355,7 +1369,7 @@ #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" \ @@ -1846,6 +1860,15 @@ "Options:\n" \ "\t-v\tDisplays verbose resource usage information." +#define top_trivial_usage \ + "[-d ]" +#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 \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 \ @@ -1916,6 +1939,7 @@ #define udhcpc_trivial_usage \ "[-fqv] [-c CLIENTID] [-H HOSTNAME] [-i INTERFACE]\n[-p file] [-r IP] [-s script]" #define udhcpc_full_usage \ + "\tUsage: udhcpcd [OPTIONS]\n" \ "\t-c,\t--clientid=CLIENTID\tClient identifier\n" \ "\t-H,\t--hostname=HOSTNAME\tClient hostname\n" \ "\t-f,\t--foreground\tDo not fork after getting lease\n" \ @@ -2061,6 +2085,18 @@ "Options:\n" \ "\t-a\tLock all VTs" +#define watch_trivial_usage \ + "[-n ] 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 \