diff options
author | Denis Vlasenko | 2008-04-13 08:20:00 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-04-13 08:20:00 +0000 |
commit | ffa4499c9f55e652e71acd0c4e5e9412ede37050 (patch) | |
tree | 04379edd4447d751c08c5104ba45d5f21fd8ec2c /include | |
parent | 867bd37c7f9f87d622047a2076c9a78c08f71b30 (diff) | |
download | busybox-ffa4499c9f55e652e71acd0c4e5e9412ede37050.zip busybox-ffa4499c9f55e652e71acd0c4e5e9412ede37050.tar.gz |
man: new applet. ~600 bytes.
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 1 | ||||
-rw-r--r-- | include/usage.h | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 2e661ac..2bd70f2 100644 --- a/include/applets.h +++ b/include/applets.h @@ -237,6 +237,7 @@ USE_LSATTR(APPLET(lsattr, _BB_DIR_BIN, _BB_SUID_NEVER)) USE_LSMOD(APPLET(lsmod, _BB_DIR_SBIN, _BB_SUID_NEVER)) USE_UNLZMA(APPLET_ODDNAME(lzmacat, unlzma, _BB_DIR_USR_BIN, _BB_SUID_NEVER, lzmacat)) USE_MAKEDEVS(APPLET(makedevs, _BB_DIR_SBIN, _BB_SUID_NEVER)) +USE_MAN(APPLET(man, _BB_DIR_SBIN, _BB_SUID_NEVER)) USE_MATCHPATHCON(APPLET(matchpathcon, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) USE_MD5SUM(APPLET_ODDNAME(md5sum, md5_sha1_sum, _BB_DIR_USR_BIN, _BB_SUID_NEVER, md5sum)) USE_MDEV(APPLET(mdev, _BB_DIR_SBIN, _BB_SUID_NEVER)) diff --git a/include/usage.h b/include/usage.h index dbe403d..d184702 100644 --- a/include/usage.h +++ b/include/usage.h @@ -2300,6 +2300,14 @@ "/dev/hda[0-15]\n" #endif +#define man_trivial_usage \ + "[OPTION]... [MANPAGE]..." +#define man_full_usage \ + "Format and display manual page\n" \ + "\nOptions:" \ + "\n -a Display all pages" \ + "\n -w Show page locations" \ + #define matchpathcon_trivial_usage \ "[-n] [-N] [-f file_contexts_file] [-p prefix] [-V]" #define matchpathcon_full_usage \ |