]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: link: mention the need for MAC addr arg in link get_sta cmd usage menu
authorGokul Sivakumar <gokulkumar792@gmail.com>
Fri, 10 Sep 2021 14:16:16 +0000 (19:46 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 Sep 2021 11:34:38 +0000 (13:34 +0200)
commit25bb9c39f91e79df6f056ab3343243750ad3f67f
treeb9e56c4a369f82aec81152cafa1bc6f519f27d92
parentf71bd68b74c6229e6cd770606d684704cd8e8a80
iw: link: mention the need for MAC addr arg in link get_sta cmd usage menu

The usage menu shown when running the hidden "link get_sta" command is not
mentioning the need for the MAC address argument. Without this, the cmd is
always failing with the output shown below.

 $ ./iw dev wlan0 link get_sta
 Usage:  ./iw [options] dev <devname> link get_sta
 ...

To avoid this, let the user know about the mandatory "MAC address" argument
like below.

 $ ./iw dev wlan0 link get_sta
 Usage:  ./iw [options] dev <devname> link get_sta <mac-addr>
 ...

Signed-off-by: Gokul Sivakumar <gokulkumar792@gmail.com>
Link: https://lore.kernel.org/r/20210910141618.1594617-2-gokulkumar792@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
link.c