diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-03-27 23:42:28 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-28 02:51:01 +0200 |
commit | 55068c478ee8e8c058b0c9e37ce0ca57612c95b1 (patch) | |
tree | 31db732832446b4c231ecb2752279728ae9b9824 /include | |
parent | 6ec1510f719ad7463d76eea9284428cc605d6b38 (diff) | |
download | busybox-w32-55068c478ee8e8c058b0c9e37ce0ca57612c95b1.tar.gz busybox-w32-55068c478ee8e8c058b0c9e37ce0ca57612c95b1.tar.bz2 busybox-w32-55068c478ee8e8c058b0c9e37ce0ca57612c95b1.zip |
move help text from include/usage.src.h to console-tools/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.src.h | 111 |
1 files changed, 0 insertions, 111 deletions
diff --git a/include/usage.src.h b/include/usage.src.h index 69b8da272..c1720b5f1 100644 --- a/include/usage.src.h +++ b/include/usage.src.h | |||
@@ -403,21 +403,11 @@ INSERT | |||
403 | "# ls -l /bin/ls\n" \ | 403 | "# ls -l /bin/ls\n" \ |
404 | "-rwxr-xr-x 1 root root 40816 Feb 5 07:45 /bin/ls*\n" | 404 | "-rwxr-xr-x 1 root root 40816 Feb 5 07:45 /bin/ls*\n" |
405 | 405 | ||
406 | #define chvt_trivial_usage \ | ||
407 | "N" | ||
408 | #define chvt_full_usage "\n\n" \ | ||
409 | "Change the foreground virtual terminal to /dev/ttyN" | ||
410 | |||
411 | #define cksum_trivial_usage \ | 406 | #define cksum_trivial_usage \ |
412 | "FILES..." | 407 | "FILES..." |
413 | #define cksum_full_usage "\n\n" \ | 408 | #define cksum_full_usage "\n\n" \ |
414 | "Calculate the CRC32 checksums of FILES" | 409 | "Calculate the CRC32 checksums of FILES" |
415 | 410 | ||
416 | #define clear_trivial_usage \ | ||
417 | "" | ||
418 | #define clear_full_usage "\n\n" \ | ||
419 | "Clear screen" | ||
420 | |||
421 | #define cmp_trivial_usage \ | 411 | #define cmp_trivial_usage \ |
422 | "[-l] [-s] FILE1 [FILE2" IF_DESKTOP(" [SKIP1 [SKIP2]]") "]" | 412 | "[-l] [-s] FILE1 [FILE2" IF_DESKTOP(" [SKIP1 [SKIP2]]") "]" |
423 | #define cmp_full_usage "\n\n" \ | 413 | #define cmp_full_usage "\n\n" \ |
@@ -614,11 +604,6 @@ INSERT | |||
614 | "4+0 records in\n" \ | 604 | "4+0 records in\n" \ |
615 | "4+0 records out\n" | 605 | "4+0 records out\n" |
616 | 606 | ||
617 | #define deallocvt_trivial_usage \ | ||
618 | "[N]" | ||
619 | #define deallocvt_full_usage "\n\n" \ | ||
620 | "Deallocate unused virtual terminal /dev/ttyN" | ||
621 | |||
622 | #define delgroup_trivial_usage \ | 607 | #define delgroup_trivial_usage \ |
623 | IF_FEATURE_DEL_USER_FROM_GROUP("[USER] ")"GROUP" | 608 | IF_FEATURE_DEL_USER_FROM_GROUP("[USER] ")"GROUP" |
624 | #define delgroup_full_usage "\n\n" \ | 609 | #define delgroup_full_usage "\n\n" \ |
@@ -806,13 +791,6 @@ INSERT | |||
806 | "104 ./docs\n" \ | 791 | "104 ./docs\n" \ |
807 | "2417 .\n" | 792 | "2417 .\n" |
808 | 793 | ||
809 | #define dumpkmap_trivial_usage \ | ||
810 | "> keymap" | ||
811 | #define dumpkmap_full_usage "\n\n" \ | ||
812 | "Print a binary keyboard translation table to stdout" | ||
813 | #define dumpkmap_example_usage \ | ||
814 | "$ dumpkmap > keymap\n" | ||
815 | |||
816 | #define dumpleases_trivial_usage \ | 794 | #define dumpleases_trivial_usage \ |
817 | "[-r|-a] [-f LEASEFILE]" | 795 | "[-r|-a] [-f LEASEFILE]" |
818 | #define dumpleases_full_usage "\n\n" \ | 796 | #define dumpleases_full_usage "\n\n" \ |
@@ -1037,11 +1015,6 @@ INSERT | |||
1037 | "\n -H HEADS" \ | 1015 | "\n -H HEADS" \ |
1038 | "\n -S SECTORS" \ | 1016 | "\n -S SECTORS" \ |
1039 | 1017 | ||
1040 | #define fgconsole_trivial_usage \ | ||
1041 | "" | ||
1042 | #define fgconsole_full_usage "\n\n" \ | ||
1043 | "Get active console" | ||
1044 | |||
1045 | #define findfs_trivial_usage \ | 1018 | #define findfs_trivial_usage \ |
1046 | "LABEL=label or UUID=uuid" | 1019 | "LABEL=label or UUID=uuid" |
1047 | #define findfs_full_usage "\n\n" \ | 1020 | #define findfs_full_usage "\n\n" \ |
@@ -1712,17 +1685,6 @@ INSERT | |||
1712 | " [[i|o]seq] [[i|o]key KEY] [[i|o]csum]\n" \ | 1685 | " [[i|o]seq] [[i|o]key KEY] [[i|o]csum]\n" \ |
1713 | " [ttl TTL] [tos TOS] [[no]pmtudisc] [dev PHYS_DEV]" \ | 1686 | " [ttl TTL] [tos TOS] [[no]pmtudisc] [dev PHYS_DEV]" \ |
1714 | 1687 | ||
1715 | #define kbd_mode_trivial_usage \ | ||
1716 | "[-a|k|s|u] [-C TTY]" | ||
1717 | #define kbd_mode_full_usage "\n\n" \ | ||
1718 | "Report or set the keyboard mode\n" \ | ||
1719 | "\nOptions:" \ | ||
1720 | "\n -a Default (ASCII)" \ | ||
1721 | "\n -k Medium-raw (keyboard)" \ | ||
1722 | "\n -s Raw (scancode)" \ | ||
1723 | "\n -u Unicode (utf-8)" \ | ||
1724 | "\n -C TTY Affect TTY instead of /dev/tty" \ | ||
1725 | |||
1726 | #define kill_trivial_usage \ | 1688 | #define kill_trivial_usage \ |
1727 | "[-l] [-SIG] PID..." | 1689 | "[-l] [-SIG] PID..." |
1728 | #define kill_full_usage "\n\n" \ | 1690 | #define kill_full_usage "\n\n" \ |
@@ -1822,24 +1784,6 @@ INSERT | |||
1822 | #define load_policy_trivial_usage NOUSAGE_STR | 1784 | #define load_policy_trivial_usage NOUSAGE_STR |
1823 | #define load_policy_full_usage "" | 1785 | #define load_policy_full_usage "" |
1824 | 1786 | ||
1825 | #define loadfont_trivial_usage \ | ||
1826 | "< font" | ||
1827 | #define loadfont_full_usage "\n\n" \ | ||
1828 | "Load a console font from stdin" \ | ||
1829 | /* "\n -C TTY Affect TTY instead of /dev/tty" */ \ | ||
1830 | |||
1831 | #define loadfont_example_usage \ | ||
1832 | "$ loadfont < /etc/i18n/fontname\n" | ||
1833 | |||
1834 | #define loadkmap_trivial_usage \ | ||
1835 | "< keymap" | ||
1836 | #define loadkmap_full_usage "\n\n" \ | ||
1837 | "Load a binary keyboard translation table from stdin\n" \ | ||
1838 | /* "\n -C TTY Affect TTY instead of /dev/tty" */ \ | ||
1839 | |||
1840 | #define loadkmap_example_usage \ | ||
1841 | "$ loadkmap < /etc/i18n/lang-keymap\n" | ||
1842 | |||
1843 | #define logger_trivial_usage \ | 1787 | #define logger_trivial_usage \ |
1844 | "[OPTIONS] [MESSAGE]" | 1788 | "[OPTIONS] [MESSAGE]" |
1845 | #define logger_full_usage "\n\n" \ | 1789 | #define logger_full_usage "\n\n" \ |
@@ -2405,19 +2349,6 @@ INSERT | |||
2405 | "Write an unambiguous representation, octal bytes by default, of FILE\n" \ | 2349 | "Write an unambiguous representation, octal bytes by default, of FILE\n" \ |
2406 | "(or stdin) to stdout" | 2350 | "(or stdin) to stdout" |
2407 | 2351 | ||
2408 | #define openvt_trivial_usage \ | ||
2409 | "[-c N] [-sw] [PROG ARGS]" | ||
2410 | #define openvt_full_usage "\n\n" \ | ||
2411 | "Start PROG on a new virtual terminal\n" \ | ||
2412 | "\nOptions:" \ | ||
2413 | "\n -c N Use specified VT" \ | ||
2414 | "\n -s Switch to the VT" \ | ||
2415 | /* "\n -l Run PROG as login shell (by prepending '-')" */ \ | ||
2416 | "\n -w Wait for PROG to exit" \ | ||
2417 | |||
2418 | #define openvt_example_usage \ | ||
2419 | "openvt 2 /bin/ash\n" | ||
2420 | |||
2421 | /* | 2352 | /* |
2422 | #define parse_trivial_usage \ | 2353 | #define parse_trivial_usage \ |
2423 | "[-n MAXTOKENS] [-m MINTOKENS] [-d DELIMS] [-f FLAGS] FILE..." | 2354 | "[-n MAXTOKENS] [-m MINTOKENS] [-d DELIMS] [-f FLAGS] FILE..." |
@@ -2704,16 +2635,6 @@ INSERT | |||
2704 | #define scriptreplay_full_usage "\n\n" \ | 2635 | #define scriptreplay_full_usage "\n\n" \ |
2705 | "Play back typescripts, using timing information" | 2636 | "Play back typescripts, using timing information" |
2706 | 2637 | ||
2707 | #define reset_trivial_usage \ | ||
2708 | "" | ||
2709 | #define reset_full_usage "\n\n" \ | ||
2710 | "Reset the screen" | ||
2711 | |||
2712 | #define resize_trivial_usage \ | ||
2713 | "" | ||
2714 | #define resize_full_usage "\n\n" \ | ||
2715 | "Resize the screen" | ||
2716 | |||
2717 | #define restorecon_trivial_usage \ | 2638 | #define restorecon_trivial_usage \ |
2718 | "[-iFnRv] [-e EXCLUDEDIR]... [-o FILE] [-f FILE]" | 2639 | "[-iFnRv] [-e EXCLUDEDIR]... [-o FILE] [-f FILE]" |
2719 | #define restorecon_full_usage "\n\n" \ | 2640 | #define restorecon_full_usage "\n\n" \ |
@@ -2926,13 +2847,6 @@ INSERT | |||
2926 | " -v Verbose" \ | 2847 | " -v Verbose" \ |
2927 | "\n -b Display current state of booleans" \ | 2848 | "\n -b Display current state of booleans" \ |
2928 | 2849 | ||
2929 | #define setconsole_trivial_usage \ | ||
2930 | "[-r" IF_FEATURE_SETCONSOLE_LONG_OPTIONS("|--reset") "] [DEVICE]" | ||
2931 | #define setconsole_full_usage "\n\n" \ | ||
2932 | "Redirect system console output to DEVICE (default: /dev/tty)\n" \ | ||
2933 | "\nOptions:" \ | ||
2934 | "\n -r Reset output to /dev/console" \ | ||
2935 | |||
2936 | #define setenforce_trivial_usage \ | 2850 | #define setenforce_trivial_usage \ |
2937 | "[Enforcing | Permissive | 1 | 0]" | 2851 | "[Enforcing | Permissive | 1 | 0]" |
2938 | #define setenforce_full_usage "" | 2852 | #define setenforce_full_usage "" |
@@ -2972,22 +2886,6 @@ INSERT | |||
2972 | #define setfont_example_usage \ | 2886 | #define setfont_example_usage \ |
2973 | "$ setfont -m koi8-r /etc/i18n/fontname\n" | 2887 | "$ setfont -m koi8-r /etc/i18n/fontname\n" |
2974 | 2888 | ||
2975 | #define setkeycodes_trivial_usage \ | ||
2976 | "SCANCODE KEYCODE..." | ||
2977 | #define setkeycodes_full_usage "\n\n" \ | ||
2978 | "Set entries into the kernel's scancode-to-keycode map,\n" \ | ||
2979 | "allowing unusual keyboards to generate usable keycodes.\n\n" \ | ||
2980 | "SCANCODE may be either xx or e0xx (hexadecimal),\n" \ | ||
2981 | "and KEYCODE is given in decimal." \ | ||
2982 | |||
2983 | #define setkeycodes_example_usage \ | ||
2984 | "$ setkeycodes e030 127\n" | ||
2985 | |||
2986 | #define setlogcons_trivial_usage \ | ||
2987 | "N" | ||
2988 | #define setlogcons_full_usage "\n\n" \ | ||
2989 | "Redirect the kernel output to console N (0 for current)" | ||
2990 | |||
2991 | #define setsebool_trivial_usage \ | 2889 | #define setsebool_trivial_usage \ |
2992 | "boolean value" | 2890 | "boolean value" |
2993 | 2891 | ||
@@ -3012,15 +2910,6 @@ INSERT | |||
3012 | "\n -f FILE Read from FILE instead of /var/log/wtmp" \ | 2910 | "\n -f FILE Read from FILE instead of /var/log/wtmp" \ |
3013 | ) | 2911 | ) |
3014 | 2912 | ||
3015 | #define showkey_trivial_usage \ | ||
3016 | "[-a | -k | -s]" | ||
3017 | #define showkey_full_usage "\n\n" \ | ||
3018 | "Show keys pressed\n" \ | ||
3019 | "\nOptions:" \ | ||
3020 | "\n -a Display decimal/octal/hex values of the keys" \ | ||
3021 | "\n -k Display interpreted keycodes (default)" \ | ||
3022 | "\n -s Display raw scan-codes" \ | ||
3023 | |||
3024 | #define slattach_trivial_usage \ | 2913 | #define slattach_trivial_usage \ |
3025 | "[-cehmLF] [-s SPEED] [-p PROTOCOL] DEVICE" | 2914 | "[-cehmLF] [-s SPEED] [-p PROTOCOL] DEVICE" |
3026 | #define slattach_full_usage "\n\n" \ | 2915 | #define slattach_full_usage "\n\n" \ |