aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h13
2 files changed, 15 insertions, 1 deletions
diff --git a/include/applets.h b/include/applets.h
index 3f411c269..bc5b36ae3 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -188,6 +188,9 @@
188#ifdef CONFIG_ENV 188#ifdef CONFIG_ENV
189 APPLET(env, env_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) 189 APPLET(env, env_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
190#endif 190#endif
191#ifdef CONFIG_ETHER_WAKE
192 APPLET_ODDNAME("ether-wake", etherwake_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER, ether_wake)
193#endif
191#ifdef CONFIG_EXPR 194#ifdef CONFIG_EXPR
192 APPLET(expr, expr_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) 195 APPLET(expr, expr_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
193#endif 196#endif
diff --git a/include/usage.h b/include/usage.h
index 316772ea2..c68ae2e0d 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -567,7 +567,7 @@
567#define eject_full_usage \ 567#define eject_full_usage \
568 "Eject specified DEVICE (or default /dev/cdrom).\n\n" \ 568 "Eject specified DEVICE (or default /dev/cdrom).\n\n" \
569 "Options:\n" \ 569 "Options:\n" \
570 "\tt" USAGE_EJECT_TRAYCLOSE "\tclose tray" 570 "\t-t" USAGE_EJECT_TRAYCLOSE "\tclose tray"
571 571
572#define env_trivial_usage \ 572#define env_trivial_usage \
573 "[-iu] [-] [name=value]... [command]" 573 "[-iu] [-] [name=value]... [command]"
@@ -578,6 +578,17 @@
578 "\t-, -i\tstart with an empty environment\n" \ 578 "\t-, -i\tstart with an empty environment\n" \
579 "\t-u\tremove variable from the environment" 579 "\t-u\tremove variable from the environment"
580 580
581#define ether_wake_trivial_usage \
582 "[-b] [-i iface] [-p aa:bb:cc:dd[:ee:ff]] MAC"
583#define ether_wake_full_usage \
584 "Send a magic packet to wake up sleeping machines.\n" \
585 "MAC must be a station address (00:11:22:33:44:55) or\n" \
586 " a hostname with a known 'ethers' entry.\n\n" \
587 "Options:\n" \
588 "\t-b\t\tSend wake-up packet to the broadcast address\n" \
589 "\t-i iface\tUse interface ifname instead of the default \"eth0\"\n" \
590 "\t-p pass\tAppend the four or six byte password PW to the packet\n"
591
581#define expr_trivial_usage \ 592#define expr_trivial_usage \
582 "EXPRESSION" 593 "EXPRESSION"
583#define expr_full_usage \ 594#define expr_full_usage \