summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h8
2 files changed, 9 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index d1a84eeaf..7d5d4406c 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -246,6 +246,7 @@ IF_LS(APPLET_NOEXEC(ls, ls, _BB_DIR_BIN, _BB_SUID_DROP, ls))
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_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 1505ac306..6b2738407 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2502,6 +2502,14 @@
#define lsmod_full_usage "\n\n" \
"List the currently loaded kernel modules"
+#define lspci_trivial_usage \
+ "[-mk]"
+#define lspci_full_usage "\n\n" \
+ "List all PCI devices" \
+ "\n" \
+ "\n -m Parseable output" \
+ "\n -k Show driver" \
+
#if ENABLE_FEATURE_MAKEDEVS_LEAF
#define makedevs_trivial_usage \
"NAME TYPE MAJOR MINOR FIRST LAST [s]"