summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSouf Oued2009-12-07 01:37:34 +0100
committerDenys Vlasenko2009-12-07 01:37:34 +0100
commit11a802a0fa04627110809d908c588aa2c471d5aa (patch)
tree5e39c0017b7935e424106153e1031f0ac5f91f4d /include
parent982bc7176d04d9d3e2b40c4ddba24eab9f02dc4d (diff)
downloadbusybox-11a802a0fa04627110809d908c588aa2c471d5aa.zip
busybox-11a802a0fa04627110809d908c588aa2c471d5aa.tar.gz
lsusb: new applet. +400 bytes
Signed-off-by: Souf Oued <souf_oued@yahoo.fr> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 7d5d440..69dcdc0 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -247,6 +247,7 @@ IF_LSATTR(APPLET(lsattr, _BB_DIR_BIN, _BB_SUID_DROP))
IF_LSMOD(APPLET(lsmod, _BB_DIR_SBIN, _BB_SUID_DROP))
IF_MODPROBE_SMALL(APPLET_ODDNAME(lsmod, modprobe, _BB_DIR_SBIN, _BB_SUID_DROP, modprobe))
IF_LSPCI(APPLET(lspci, _BB_DIR_SBIN, _BB_SUID_DROP))
+IF_LSUSB(APPLET(lsusb, _BB_DIR_SBIN, _BB_SUID_DROP))
IF_UNLZMA(APPLET_ODDNAME(lzmacat, unlzma, _BB_DIR_USR_BIN, _BB_SUID_DROP, lzmacat))
IF_LZOP(APPLET(lzop, _BB_DIR_BIN, _BB_SUID_DROP))
IF_LZOP(APPLET_ODDNAME(lzopcat, lzop, _BB_DIR_USR_BIN, _BB_SUID_DROP, lzopcat))
diff --git a/include/usage.h b/include/usage.h
index 6b27384..9f4c448 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2510,6 +2510,9 @@
"\n -m Parseable output" \
"\n -k Show driver" \
+#define lsusb_trivial_usage NOUSAGE_STR
+#define lsusb_full_usage ""
+
#if ENABLE_FEATURE_MAKEDEVS_LEAF
#define makedevs_trivial_usage \
"NAME TYPE MAJOR MINOR FIRST LAST [s]"