diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-11 03:29:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-11 03:29:49 +0200 |
commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /networking/brctl.c | |
parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
download | busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2 busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip |
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/brctl.c')
-rw-r--r-- | networking/brctl.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/networking/brctl.c b/networking/brctl.c index c0b094eba..19f474fce 100644 --- a/networking/brctl.c +++ b/networking/brctl.c | |||
@@ -12,6 +12,30 @@ | |||
12 | /* This applet currently uses only the ioctl interface and no sysfs at all. | 12 | /* This applet currently uses only the ioctl interface and no sysfs at all. |
13 | * At the time of this writing this was considered a feature. | 13 | * At the time of this writing this was considered a feature. |
14 | */ | 14 | */ |
15 | |||
16 | //usage:#define brctl_trivial_usage | ||
17 | //usage: "COMMAND [BRIDGE [INTERFACE]]" | ||
18 | //usage:#define brctl_full_usage "\n\n" | ||
19 | //usage: "Manage ethernet bridges\n" | ||
20 | //usage: "\nCommands:" | ||
21 | //usage: IF_FEATURE_BRCTL_SHOW( | ||
22 | //usage: "\n show Show a list of bridges" | ||
23 | //usage: ) | ||
24 | //usage: "\n addbr BRIDGE Create BRIDGE" | ||
25 | //usage: "\n delbr BRIDGE Delete BRIDGE" | ||
26 | //usage: "\n addif BRIDGE IFACE Add IFACE to BRIDGE" | ||
27 | //usage: "\n delif BRIDGE IFACE Delete IFACE from BRIDGE" | ||
28 | //usage: IF_FEATURE_BRCTL_FANCY( | ||
29 | //usage: "\n setageing BRIDGE TIME Set ageing time" | ||
30 | //usage: "\n setfd BRIDGE TIME Set bridge forward delay" | ||
31 | //usage: "\n sethello BRIDGE TIME Set hello time" | ||
32 | //usage: "\n setmaxage BRIDGE TIME Set max message age" | ||
33 | //usage: "\n setpathcost BRIDGE COST Set path cost" | ||
34 | //usage: "\n setportprio BRIDGE PRIO Set port priority" | ||
35 | //usage: "\n setbridgeprio BRIDGE PRIO Set bridge priority" | ||
36 | //usage: "\n stp BRIDGE [1/yes/on|0/no/off] STP on/off" | ||
37 | //usage: ) | ||
38 | |||
15 | #include "libbb.h" | 39 | #include "libbb.h" |
16 | #include <linux/sockios.h> | 40 | #include <linux/sockios.h> |
17 | #include <net/if.h> | 41 | #include <net/if.h> |