aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-10-12 19:51:46 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-10-12 19:51:46 +0200
commiteb1395147ae98e56b455d0f3f9406725fe189822 (patch)
tree85b27b3b30f41d53fc0ab6acb7ac16ef377ac1b9
parentb4fa16d5ed51d13c7c8e9037e4613cc147ce27da (diff)
downloadbusybox-w32-eb1395147ae98e56b455d0f3f9406725fe189822.tar.gz
busybox-w32-eb1395147ae98e56b455d0f3f9406725fe189822.tar.bz2
busybox-w32-eb1395147ae98e56b455d0f3f9406725fe189822.zip
brctl: tweak help text, fix comments
function old new delta packed_usage 33255 33236 -19 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/brctl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/networking/brctl.c b/networking/brctl.c
index 09c55cd0e..8ed9d2096 100644
--- a/networking/brctl.c
+++ b/networking/brctl.c
@@ -53,8 +53,9 @@
53//usage: "\n addif BRIDGE IFACE Add IFACE to BRIDGE" 53//usage: "\n addif BRIDGE IFACE Add IFACE to BRIDGE"
54//usage: "\n delif BRIDGE IFACE Delete IFACE from BRIDGE" 54//usage: "\n delif BRIDGE IFACE Delete IFACE from BRIDGE"
55//usage: IF_FEATURE_BRCTL_FANCY( 55//usage: IF_FEATURE_BRCTL_FANCY(
56//usage: "\n stp BRIDGE 1/yes/on|0/no/off STP on/off" 56//usage: "\n showmacs BRIDGE List MAC addresses"
57//usage: "\n showstp BRIDGE Show STP info" 57//usage: "\n showstp BRIDGE Show STP info"
58//usage: "\n stp BRIDGE 1/yes/on|0/no/off Set STP on/off"
58//usage: "\n setageing BRIDGE SECONDS Set ageing time" 59//usage: "\n setageing BRIDGE SECONDS Set ageing time"
59//usage: "\n setfd BRIDGE SECONDS Set bridge forward delay" 60//usage: "\n setfd BRIDGE SECONDS Set bridge forward delay"
60//usage: "\n sethello BRIDGE SECONDS Set hello time" 61//usage: "\n sethello BRIDGE SECONDS Set hello time"
@@ -62,10 +63,9 @@
62//usage: "\n setbridgeprio BRIDGE PRIO Set bridge priority" 63//usage: "\n setbridgeprio BRIDGE PRIO Set bridge priority"
63//usage: "\n setportprio BRIDGE IFACE PRIO Set port priority" 64//usage: "\n setportprio BRIDGE IFACE PRIO Set port priority"
64//usage: "\n setpathcost BRIDGE IFACE COST Set path cost" 65//usage: "\n setpathcost BRIDGE IFACE COST Set path cost"
65//usage: "\n showmacs BRIDGE List MAC addresses"
66//usage: ) 66//usage: )
67// Not yet implemented: 67// Not yet implemented:
68// hairpin BRIDGE IFACE on|off Hairpin on/off 68// hairpin BRIDGE IFACE on|off Set hairpin on/off
69 69
70#include "libbb.h" 70#include "libbb.h"
71#include "common_bufsiz.h" 71#include "common_bufsiz.h"
@@ -566,7 +566,7 @@ int brctl_main(int argc UNUSED_PARAM, char **argv)
566 } 566 }
567#endif 567#endif
568 568
569 if (!*argv) /* all but 'show' need at least one argument */ 569 if (!*argv) /* All of the below need at least one argument */
570 bb_show_usage(); 570 bb_show_usage();
571 571
572 br = *argv++; 572 br = *argv++;
@@ -599,7 +599,7 @@ int brctl_main(int argc UNUSED_PARAM, char **argv)
599 return EXIT_SUCCESS; 599 return EXIT_SUCCESS;
600 } 600 }
601 601
602 if (!*argv) /* all but 'addbr/delbr' need at least two arguments */ 602 if (!*argv) /* All of the below need at least two arguments */
603 bb_show_usage(); 603 bb_show_usage();
604 604
605#if ENABLE_FEATURE_BRCTL_FANCY 605#if ENABLE_FEATURE_BRCTL_FANCY