From 11a802a0fa04627110809d908c588aa2c471d5aa Mon Sep 17 00:00:00 2001 From: Souf Oued Date: Mon, 7 Dec 2009 01:37:34 +0100 Subject: lsusb: new applet. +400 bytes Signed-off-by: Souf Oued Signed-off-by: Denys Vlasenko --- include/applets.h | 1 + include/usage.h | 3 +++ 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/applets.h b/include/applets.h index 7d5d4406c..69dcdc002 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 6b2738407..9f4c44891 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]" -- cgit v1.2.3