stp: name the status subcommand in the usage line

"stp status" has always worked, but the line printed on a bad command
listed only on and off, so the one subcommand that shows what the bridge
thinks was the one you had to already know about.
This commit is contained in:
d00f
2026-08-18 23:30:32 +02:00
committed by d00f
parent a9af466702
commit 35d26cb08f
+1 -1
View File
@@ -907,5 +907,5 @@ void stp_parse(void) __banked __reentrant
}
return;
err:
print_string("Error: stp on|off | prio <0-15> | hello <1-10> | maxage <6-40> | fwd <4-30> | txhold <1-10> | version rstp|stp | port <1-9> on|off|edge|cost|prio|guard|filter ...\n");
print_string("Error: stp on|off|status | prio <0-15> | hello <1-10> | maxage <6-40> | fwd <4-30> | txhold <1-10> | version rstp|stp | port <1-9> on|off|edge|cost|prio|guard|filter ...\n");
}