Message ID | 20240203200305.697-1-yedaya.ka@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 32bb7f8f99d27edd66071dbda4a58b3f27c911fd |
Delegated to: | Stephen Hemminger |
Headers | show |
Series | ip: Add missing stats command to usage | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
Yedaya Katsman <yedaya.ka@gmail.com> writes: > The stats command was added in 54d82b0699a0 ("ip: Add a new family of > commands, "stats""), but wasn't included in the subcommand list in the > help usage. > Add it in the right position alphabetically. > > Fixes: 54d82b0699a0 ("ip: Add a new family of commands, "stats"") > Signed-off-by: Yedaya Katsman <yedaya.ka@gmail.com> Reviewed-by: Petr Machata <me@pmachata.org>
Hello: This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <stephen@networkplumber.org>: On Sat, 3 Feb 2024 22:03:05 +0200 you wrote: > The stats command was added in 54d82b0699a0 ("ip: Add a new family of > commands, "stats""), but wasn't included in the subcommand list in the > help usage. > Add it in the right position alphabetically. > > Fixes: 54d82b0699a0 ("ip: Add a new family of commands, "stats"") > Signed-off-by: Yedaya Katsman <yedaya.ka@gmail.com> > > [...] Here is the summary with links: - ip: Add missing stats command to usage https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=32bb7f8f99d2 You are awesome, thank you!
diff --git a/ip/ip.c b/ip/ip.c index 39bea69b7137..9e81248ff7f0 100644 --- a/ip/ip.c +++ b/ip/ip.c @@ -64,7 +64,7 @@ static void usage(void) "where OBJECT := { address | addrlabel | fou | help | ila | ioam | l2tp | link |\n" " macsec | maddress | monitor | mptcp | mroute | mrule |\n" " neighbor | neighbour | netconf | netns | nexthop | ntable |\n" - " ntbl | route | rule | sr | tap | tcpmetrics |\n" + " ntbl | route | rule | sr | stats | tap | tcpmetrics |\n" " token | tunnel | tuntap | vrf | xfrm }\n" " OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |\n" " -h[uman-readable] | -iec | -j[son] | -p[retty] |\n"
The stats command was added in 54d82b0699a0 ("ip: Add a new family of commands, "stats""), but wasn't included in the subcommand list in the help usage. Add it in the right position alphabetically. Fixes: 54d82b0699a0 ("ip: Add a new family of commands, "stats"") Signed-off-by: Yedaya Katsman <yedaya.ka@gmail.com> --- ip/ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)