Use the print_attr_val() function introduced by the previous patch
to simplify the get command.
Signed-off-by: Martin Mares <mj@ucw.cz>
SVN-Revision: 19641
Add a "show" command, which displays all attributes of the selected port,
VLAN, or of the whole switch.
Signed-off-by: Martin Mares <mj@ucw.cz>
SVN-Revision: 19640
The command line parser was unsystematic and it silently ignored
many illegal combinations of options. Try to clean that up.
Signed-off-by: Martin Mares <mj@ucw.cz>
SVN-Revision: 19639