aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-23 16:58:44 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-23 16:58:44 +0000
commit3eee6fdb3f95ab3fafa9c33618d266824ea633b6 (patch)
tree0f308189b36a4df6dae44ba18a88e61fe8a5d671
parentab0f92a566c3fc5a419b06577c595f97e92fbc77 (diff)
downloadbusybox-w32-3eee6fdb3f95ab3fafa9c33618d266824ea633b6.tar.gz
busybox-w32-3eee6fdb3f95ab3fafa9c33618d266824ea633b6.tar.bz2
busybox-w32-3eee6fdb3f95ab3fafa9c33618d266824ea633b6.zip
More cleanups
git-svn-id: svn://busybox.net/trunk/busybox@1917 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--applets/usage.h36
-rw-r--r--include/usage.h36
-rw-r--r--usage.h36
3 files changed, 57 insertions, 51 deletions
diff --git a/applets/usage.h b/applets/usage.h
index 92740b166..a3702a0cd 100644
--- a/applets/usage.h
+++ b/applets/usage.h
@@ -64,7 +64,7 @@
64 "Compare files." 64 "Compare files."
65 65
66#define cp_trivial_usage \ 66#define cp_trivial_usage \
67 "[OPTION]... SOURCE DEST\n" 67 "[OPTION]... SOURCE DEST"
68#define cp_full_usage \ 68#define cp_full_usage \
69 "Copies SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n" \ 69 "Copies SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n" \
70 "\n" \ 70 "\n" \
@@ -87,7 +87,7 @@
87 "\t-n\t\tIgnored" 87 "\t-n\t\tIgnored"
88 88
89#define date_trivial_usage \ 89#define date_trivial_usage \
90 "[OPTION]... [+FORMAT]\n" 90 "[OPTION]... [+FORMAT]"
91#define date_full_usage \ 91#define date_full_usage \
92 "Displays the current time in the given FORMAT, or sets the system date.\n" \ 92 "Displays the current time in the given FORMAT, or sets the system date.\n" \
93 "\nOptions:\n" \ 93 "\nOptions:\n" \
@@ -318,7 +318,7 @@
318#define getopt_trivial_usage \ 318#define getopt_trivial_usage \
319 "[OPTIONS]..." 319 "[OPTIONS]..."
320#define getopt_full_usage \ 320#define getopt_full_usage \
321 "\nParse command options\n" \ 321 "Parse command options\n" \
322 "\t-a, --alternative Allow long options starting with single -\n" \ 322 "\t-a, --alternative Allow long options starting with single -\n" \
323 "\t-l, --longoptions=longopts Long options to be recognized\n" \ 323 "\t-l, --longoptions=longopts Long options to be recognized\n" \
324 "\t-n, --name=progname The name under which errors are reported\n" \ 324 "\t-n, --name=progname The name under which errors are reported\n" \
@@ -590,8 +590,8 @@
590 "\t-t\tread files in text mode (default)\n" \ 590 "\t-t\tread files in text mode (default)\n" \
591 "\t-g\tread a string\n" \ 591 "\t-g\tread a string\n" \
592 "\nThe following two options are useful only when verifying checksums:\n" \ 592 "\nThe following two options are useful only when verifying checksums:\n" \
593 "\t-s,\tdon't output anything, status code shows success\n" \ 593 "\t-s\tdon't output anything, status code shows success\n" \
594 "\t-w,\twarn about improperly formated MD5 checksum lines" 594 "\t-w\twarn about improperly formated MD5 checksum lines"
595 595
596#define mkdir_trivial_usage \ 596#define mkdir_trivial_usage \
597 "[OPTION] DIRECTORY..." 597 "[OPTION] DIRECTORY..."
@@ -762,7 +762,7 @@
762#define rdate_trivial_usage \ 762#define rdate_trivial_usage \
763 "[OPTION] HOST" 763 "[OPTION] HOST"
764#define rdate_full_usage \ 764#define rdate_full_usage \
765 "Get and possibly set the system date and time from a remote HOST.\n" \ 765 "Get and possibly set the system date and time from a remote HOST.\n\n" \
766 "Options:\n" \ 766 "Options:\n" \
767 "\t-s\tSet the system date and time (default).\n" \ 767 "\t-s\tSet the system date and time (default).\n" \
768 "\t-p\tPrint the date and time." 768 "\t-p\tPrint the date and time."
@@ -823,10 +823,11 @@
823#define sed_trivial_usage \ 823#define sed_trivial_usage \
824 "[-Vhnef] pattern [files...]" 824 "[-Vhnef] pattern [files...]"
825#define sed_full_usage \ 825#define sed_full_usage \
826 "-n\t\tsuppress automatic printing of pattern space\n" \ 826 "Options:\n" \
827 "-e script\tadd the script to the commands to be executed\n" \ 827 "\t-n\t\tsuppress automatic printing of pattern space\n" \
828 "-f scriptfile\tadd the contents of script-file to the commands to be executed\n" \ 828 "\t-e script\tadd the script to the commands to be executed\n" \
829 "-h\t\tdisplay this help message\n" \ 829 "\t-f scriptfile\tadd the contents of script-file to the commands to be executed\n" \
830 "\t-h\t\tdisplay this help message\n" \
830 "\n" \ 831 "\n" \
831 "If no -e or -f is given, the first non-option argument is taken as the\n" \ 832 "If no -e or -f is given, the first non-option argument is taken as the\n" \
832 "sed script to interpret. All remaining arguments are names of input\n" \ 833 "sed script to interpret. All remaining arguments are names of input\n" \
@@ -867,10 +868,11 @@
867#define stty_full_usage \ 868#define stty_full_usage \
868 "Without arguments, prints baud rate, line discipline," \ 869 "Without arguments, prints baud rate, line discipline," \
869 "\nand deviations from stty sane." \ 870 "\nand deviations from stty sane." \
870 "\n -F device open and use the specified device instead of stdin" \ 871 "\n\nOptions:" \
871 "\n -a print all current settings in human-readable form. Or" \ 872 "\n\t-F device\topen device instead of stdin" \
872 "\n -g print in a stty-readable form" \ 873 "\n\t-a\t\tprint all current settings in human-readable form" \
873 "\n [SETTING] see in documentation" 874 "\n\t-g\t\tprint in stty-readable form" \
875 "\n\t[SETTING]\tsee documentation"
874 876
875#define swapoff_trivial_usage \ 877#define swapoff_trivial_usage \
876 "[OPTION] [device]" 878 "[OPTION] [device]"
@@ -913,7 +915,7 @@
913 USAGE_KLOGD("\t-K\t\tDo not start up the klogd process\n") \ 915 USAGE_KLOGD("\t-K\t\tDo not start up the klogd process\n") \
914 "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)" \ 916 "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)" \
915 USAGE_REMOTE_LOG( \ 917 USAGE_REMOTE_LOG( \
916 "\n\t-R HOST[:PORT]\t\tLog remotely to IP or hostname on PORT (default PORT=514/UDP)\n" \ 918 "\n\t-R HOST[:PORT]\tLog remotely to IP or hostname on PORT (default PORT=514/UDP)\n" \
917 "\t-L\t\tLog locally as well as network logging (default is network only)") 919 "\t-L\t\tLog locally as well as network logging (default is network only)")
918 920
919 921
@@ -1096,9 +1098,9 @@
1096 "\t-m\tuse base64 encoding as of RFC1521" 1098 "\t-m\tuse base64 encoding as of RFC1521"
1097 1099
1098#define watchdog_trivial_usage \ 1100#define watchdog_trivial_usage \
1099 "dev" 1101 "DEV"
1100#define watchdog_full_usage \ 1102#define watchdog_full_usage \
1101 "Periodically write to watchdog device \"dev\"" 1103 "Periodically write to watchdog device DEV"
1102 1104
1103#define wc_trivial_usage \ 1105#define wc_trivial_usage \
1104 "[OPTION]... [FILE]..." 1106 "[OPTION]... [FILE]..."
diff --git a/include/usage.h b/include/usage.h
index 92740b166..a3702a0cd 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -64,7 +64,7 @@
64 "Compare files." 64 "Compare files."
65 65
66#define cp_trivial_usage \ 66#define cp_trivial_usage \
67 "[OPTION]... SOURCE DEST\n" 67 "[OPTION]... SOURCE DEST"
68#define cp_full_usage \ 68#define cp_full_usage \
69 "Copies SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n" \ 69 "Copies SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n" \
70 "\n" \ 70 "\n" \
@@ -87,7 +87,7 @@
87 "\t-n\t\tIgnored" 87 "\t-n\t\tIgnored"
88 88
89#define date_trivial_usage \ 89#define date_trivial_usage \
90 "[OPTION]... [+FORMAT]\n" 90 "[OPTION]... [+FORMAT]"
91#define date_full_usage \ 91#define date_full_usage \
92 "Displays the current time in the given FORMAT, or sets the system date.\n" \ 92 "Displays the current time in the given FORMAT, or sets the system date.\n" \
93 "\nOptions:\n" \ 93 "\nOptions:\n" \
@@ -318,7 +318,7 @@
318#define getopt_trivial_usage \ 318#define getopt_trivial_usage \
319 "[OPTIONS]..." 319 "[OPTIONS]..."
320#define getopt_full_usage \ 320#define getopt_full_usage \
321 "\nParse command options\n" \ 321 "Parse command options\n" \
322 "\t-a, --alternative Allow long options starting with single -\n" \ 322 "\t-a, --alternative Allow long options starting with single -\n" \
323 "\t-l, --longoptions=longopts Long options to be recognized\n" \ 323 "\t-l, --longoptions=longopts Long options to be recognized\n" \
324 "\t-n, --name=progname The name under which errors are reported\n" \ 324 "\t-n, --name=progname The name under which errors are reported\n" \
@@ -590,8 +590,8 @@
590 "\t-t\tread files in text mode (default)\n" \ 590 "\t-t\tread files in text mode (default)\n" \
591 "\t-g\tread a string\n" \ 591 "\t-g\tread a string\n" \
592 "\nThe following two options are useful only when verifying checksums:\n" \ 592 "\nThe following two options are useful only when verifying checksums:\n" \
593 "\t-s,\tdon't output anything, status code shows success\n" \ 593 "\t-s\tdon't output anything, status code shows success\n" \
594 "\t-w,\twarn about improperly formated MD5 checksum lines" 594 "\t-w\twarn about improperly formated MD5 checksum lines"
595 595
596#define mkdir_trivial_usage \ 596#define mkdir_trivial_usage \
597 "[OPTION] DIRECTORY..." 597 "[OPTION] DIRECTORY..."
@@ -762,7 +762,7 @@
762#define rdate_trivial_usage \ 762#define rdate_trivial_usage \
763 "[OPTION] HOST" 763 "[OPTION] HOST"
764#define rdate_full_usage \ 764#define rdate_full_usage \
765 "Get and possibly set the system date and time from a remote HOST.\n" \ 765 "Get and possibly set the system date and time from a remote HOST.\n\n" \
766 "Options:\n" \ 766 "Options:\n" \
767 "\t-s\tSet the system date and time (default).\n" \ 767 "\t-s\tSet the system date and time (default).\n" \
768 "\t-p\tPrint the date and time." 768 "\t-p\tPrint the date and time."
@@ -823,10 +823,11 @@
823#define sed_trivial_usage \ 823#define sed_trivial_usage \
824 "[-Vhnef] pattern [files...]" 824 "[-Vhnef] pattern [files...]"
825#define sed_full_usage \ 825#define sed_full_usage \
826 "-n\t\tsuppress automatic printing of pattern space\n" \ 826 "Options:\n" \
827 "-e script\tadd the script to the commands to be executed\n" \ 827 "\t-n\t\tsuppress automatic printing of pattern space\n" \
828 "-f scriptfile\tadd the contents of script-file to the commands to be executed\n" \ 828 "\t-e script\tadd the script to the commands to be executed\n" \
829 "-h\t\tdisplay this help message\n" \ 829 "\t-f scriptfile\tadd the contents of script-file to the commands to be executed\n" \
830 "\t-h\t\tdisplay this help message\n" \
830 "\n" \ 831 "\n" \
831 "If no -e or -f is given, the first non-option argument is taken as the\n" \ 832 "If no -e or -f is given, the first non-option argument is taken as the\n" \
832 "sed script to interpret. All remaining arguments are names of input\n" \ 833 "sed script to interpret. All remaining arguments are names of input\n" \
@@ -867,10 +868,11 @@
867#define stty_full_usage \ 868#define stty_full_usage \
868 "Without arguments, prints baud rate, line discipline," \ 869 "Without arguments, prints baud rate, line discipline," \
869 "\nand deviations from stty sane." \ 870 "\nand deviations from stty sane." \
870 "\n -F device open and use the specified device instead of stdin" \ 871 "\n\nOptions:" \
871 "\n -a print all current settings in human-readable form. Or" \ 872 "\n\t-F device\topen device instead of stdin" \
872 "\n -g print in a stty-readable form" \ 873 "\n\t-a\t\tprint all current settings in human-readable form" \
873 "\n [SETTING] see in documentation" 874 "\n\t-g\t\tprint in stty-readable form" \
875 "\n\t[SETTING]\tsee documentation"
874 876
875#define swapoff_trivial_usage \ 877#define swapoff_trivial_usage \
876 "[OPTION] [device]" 878 "[OPTION] [device]"
@@ -913,7 +915,7 @@
913 USAGE_KLOGD("\t-K\t\tDo not start up the klogd process\n") \ 915 USAGE_KLOGD("\t-K\t\tDo not start up the klogd process\n") \
914 "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)" \ 916 "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)" \
915 USAGE_REMOTE_LOG( \ 917 USAGE_REMOTE_LOG( \
916 "\n\t-R HOST[:PORT]\t\tLog remotely to IP or hostname on PORT (default PORT=514/UDP)\n" \ 918 "\n\t-R HOST[:PORT]\tLog remotely to IP or hostname on PORT (default PORT=514/UDP)\n" \
917 "\t-L\t\tLog locally as well as network logging (default is network only)") 919 "\t-L\t\tLog locally as well as network logging (default is network only)")
918 920
919 921
@@ -1096,9 +1098,9 @@
1096 "\t-m\tuse base64 encoding as of RFC1521" 1098 "\t-m\tuse base64 encoding as of RFC1521"
1097 1099
1098#define watchdog_trivial_usage \ 1100#define watchdog_trivial_usage \
1099 "dev" 1101 "DEV"
1100#define watchdog_full_usage \ 1102#define watchdog_full_usage \
1101 "Periodically write to watchdog device \"dev\"" 1103 "Periodically write to watchdog device DEV"
1102 1104
1103#define wc_trivial_usage \ 1105#define wc_trivial_usage \
1104 "[OPTION]... [FILE]..." 1106 "[OPTION]... [FILE]..."
diff --git a/usage.h b/usage.h
index 92740b166..a3702a0cd 100644
--- a/usage.h
+++ b/usage.h
@@ -64,7 +64,7 @@
64 "Compare files." 64 "Compare files."
65 65
66#define cp_trivial_usage \ 66#define cp_trivial_usage \
67 "[OPTION]... SOURCE DEST\n" 67 "[OPTION]... SOURCE DEST"
68#define cp_full_usage \ 68#define cp_full_usage \
69 "Copies SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n" \ 69 "Copies SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n" \
70 "\n" \ 70 "\n" \
@@ -87,7 +87,7 @@
87 "\t-n\t\tIgnored" 87 "\t-n\t\tIgnored"
88 88
89#define date_trivial_usage \ 89#define date_trivial_usage \
90 "[OPTION]... [+FORMAT]\n" 90 "[OPTION]... [+FORMAT]"
91#define date_full_usage \ 91#define date_full_usage \
92 "Displays the current time in the given FORMAT, or sets the system date.\n" \ 92 "Displays the current time in the given FORMAT, or sets the system date.\n" \
93 "\nOptions:\n" \ 93 "\nOptions:\n" \
@@ -318,7 +318,7 @@
318#define getopt_trivial_usage \ 318#define getopt_trivial_usage \
319 "[OPTIONS]..." 319 "[OPTIONS]..."
320#define getopt_full_usage \ 320#define getopt_full_usage \
321 "\nParse command options\n" \ 321 "Parse command options\n" \
322 "\t-a, --alternative Allow long options starting with single -\n" \ 322 "\t-a, --alternative Allow long options starting with single -\n" \
323 "\t-l, --longoptions=longopts Long options to be recognized\n" \ 323 "\t-l, --longoptions=longopts Long options to be recognized\n" \
324 "\t-n, --name=progname The name under which errors are reported\n" \ 324 "\t-n, --name=progname The name under which errors are reported\n" \
@@ -590,8 +590,8 @@
590 "\t-t\tread files in text mode (default)\n" \ 590 "\t-t\tread files in text mode (default)\n" \
591 "\t-g\tread a string\n" \ 591 "\t-g\tread a string\n" \
592 "\nThe following two options are useful only when verifying checksums:\n" \ 592 "\nThe following two options are useful only when verifying checksums:\n" \
593 "\t-s,\tdon't output anything, status code shows success\n" \ 593 "\t-s\tdon't output anything, status code shows success\n" \
594 "\t-w,\twarn about improperly formated MD5 checksum lines" 594 "\t-w\twarn about improperly formated MD5 checksum lines"
595 595
596#define mkdir_trivial_usage \ 596#define mkdir_trivial_usage \
597 "[OPTION] DIRECTORY..." 597 "[OPTION] DIRECTORY..."
@@ -762,7 +762,7 @@
762#define rdate_trivial_usage \ 762#define rdate_trivial_usage \
763 "[OPTION] HOST" 763 "[OPTION] HOST"
764#define rdate_full_usage \ 764#define rdate_full_usage \
765 "Get and possibly set the system date and time from a remote HOST.\n" \ 765 "Get and possibly set the system date and time from a remote HOST.\n\n" \
766 "Options:\n" \ 766 "Options:\n" \
767 "\t-s\tSet the system date and time (default).\n" \ 767 "\t-s\tSet the system date and time (default).\n" \
768 "\t-p\tPrint the date and time." 768 "\t-p\tPrint the date and time."
@@ -823,10 +823,11 @@
823#define sed_trivial_usage \ 823#define sed_trivial_usage \
824 "[-Vhnef] pattern [files...]" 824 "[-Vhnef] pattern [files...]"
825#define sed_full_usage \ 825#define sed_full_usage \
826 "-n\t\tsuppress automatic printing of pattern space\n" \ 826 "Options:\n" \
827 "-e script\tadd the script to the commands to be executed\n" \ 827 "\t-n\t\tsuppress automatic printing of pattern space\n" \
828 "-f scriptfile\tadd the contents of script-file to the commands to be executed\n" \ 828 "\t-e script\tadd the script to the commands to be executed\n" \
829 "-h\t\tdisplay this help message\n" \ 829 "\t-f scriptfile\tadd the contents of script-file to the commands to be executed\n" \
830 "\t-h\t\tdisplay this help message\n" \
830 "\n" \ 831 "\n" \
831 "If no -e or -f is given, the first non-option argument is taken as the\n" \ 832 "If no -e or -f is given, the first non-option argument is taken as the\n" \
832 "sed script to interpret. All remaining arguments are names of input\n" \ 833 "sed script to interpret. All remaining arguments are names of input\n" \
@@ -867,10 +868,11 @@
867#define stty_full_usage \ 868#define stty_full_usage \
868 "Without arguments, prints baud rate, line discipline," \ 869 "Without arguments, prints baud rate, line discipline," \
869 "\nand deviations from stty sane." \ 870 "\nand deviations from stty sane." \
870 "\n -F device open and use the specified device instead of stdin" \ 871 "\n\nOptions:" \
871 "\n -a print all current settings in human-readable form. Or" \ 872 "\n\t-F device\topen device instead of stdin" \
872 "\n -g print in a stty-readable form" \ 873 "\n\t-a\t\tprint all current settings in human-readable form" \
873 "\n [SETTING] see in documentation" 874 "\n\t-g\t\tprint in stty-readable form" \
875 "\n\t[SETTING]\tsee documentation"
874 876
875#define swapoff_trivial_usage \ 877#define swapoff_trivial_usage \
876 "[OPTION] [device]" 878 "[OPTION] [device]"
@@ -913,7 +915,7 @@
913 USAGE_KLOGD("\t-K\t\tDo not start up the klogd process\n") \ 915 USAGE_KLOGD("\t-K\t\tDo not start up the klogd process\n") \
914 "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)" \ 916 "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)" \
915 USAGE_REMOTE_LOG( \ 917 USAGE_REMOTE_LOG( \
916 "\n\t-R HOST[:PORT]\t\tLog remotely to IP or hostname on PORT (default PORT=514/UDP)\n" \ 918 "\n\t-R HOST[:PORT]\tLog remotely to IP or hostname on PORT (default PORT=514/UDP)\n" \
917 "\t-L\t\tLog locally as well as network logging (default is network only)") 919 "\t-L\t\tLog locally as well as network logging (default is network only)")
918 920
919 921
@@ -1096,9 +1098,9 @@
1096 "\t-m\tuse base64 encoding as of RFC1521" 1098 "\t-m\tuse base64 encoding as of RFC1521"
1097 1099
1098#define watchdog_trivial_usage \ 1100#define watchdog_trivial_usage \
1099 "dev" 1101 "DEV"
1100#define watchdog_full_usage \ 1102#define watchdog_full_usage \
1101 "Periodically write to watchdog device \"dev\"" 1103 "Periodically write to watchdog device DEV"
1102 1104
1103#define wc_trivial_usage \ 1105#define wc_trivial_usage \
1104 "[OPTION]... [FILE]..." 1106 "[OPTION]... [FILE]..."