iw: Print help text to "set bitrates" in case of no args
PATCH 1/1 iw: Print help text to "set bitrates" in case of no args
Signed-off-by Ola Olsson <[email protected]>
--- bitrate.c | 3 +++ 1 file changed, 3 insertions(+)
bitrate.c +3 -0
@@ -110,6 +110,9 @@ static int handle_bitrates(struct nl80211_state *state,S_GI , } parser_state = S_NONE; +if (argc ==0 ) +return 1 ; +for (i =0 ; i < argc; i++) {char *end;double tmpd;
Signature · 1 line
1.7.9.5
This is incorrect - the help states:
"Not passing any arguments would clear the existing mask (if any)."
johannes
I totally missed that. You are right!
/Ola
Quoted 5 lines · Johannes Berg
This is incorrect - the help states:
"Not passing any arguments would clear the existing mask (if any)."
johannes