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, 16 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 9257fc940..bd2053039 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -368,6 +368,9 @@
368#ifdef CONFIG_MV 368#ifdef CONFIG_MV
369 APPLET(mv, mv_main, _BB_DIR_BIN, _BB_SUID_NEVER) 369 APPLET(mv, mv_main, _BB_DIR_BIN, _BB_SUID_NEVER)
370#endif 370#endif
371#ifdef CONFIG_NAMEIF
372 APPLET(nameif, nameif_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
373#endif
371#ifdef CONFIG_NC 374#ifdef CONFIG_NC
372 APPLET(nc, nc_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) 375 APPLET(nc, nc_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
373#endif 376#endif
diff --git a/include/usage.h b/include/usage.h
index f484ee9ef..d3c1e5072 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1453,6 +1453,19 @@
1453#define mv_example_usage \ 1453#define mv_example_usage \
1454 "$ mv /tmp/foo /bin/bar\n" 1454 "$ mv /tmp/foo /bin/bar\n"
1455 1455
1456#define nameif_trivial_usage \
1457 "[OPTIONS] [{IFNAME MACADDR}]"
1458#define nameif_full_usage \
1459 "Nameif renaming network interface while it in the down state.\n\n" \
1460 "Options:\n" \
1461 "\t-c FILE\t\tUse another configuration file (default is /etc/mactab)\n" \
1462 "\t-s\t\tUse syslog (LOCAL0 facility).\n" \
1463 "\tIFNAME MACADDR\tnew_interface_name interface_mac_address\n"
1464#define nameif_example_usage \
1465 "$ nameif -s dmz0 00:A0:C9:8C:F6:3F\n" \
1466 " or\n" \
1467 "$ nameif -c /etc/my_mactab_file\n" \
1468
1456#define nc_trivial_usage \ 1469#define nc_trivial_usage \
1457 "[OPTIONS] [IP] [port]" 1470 "[OPTIONS] [IP] [port]"
1458#define nc_full_usage \ 1471#define nc_full_usage \