pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-hnbgw/+/41446?usp=email )
Change subject: vty: Improve 'show hnb' param input ......................................................................
vty: Improve 'show hnb' param input
Make it more logic to what user expects, specially wrt to other existing commands in the osmocom world.
Change-Id: If329d57f701b0c53a61c89aae8b7ea421f728566 --- M src/osmo-hnbgw/hnbgw_vty.c 1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/46/41446/1
diff --git a/src/osmo-hnbgw/hnbgw_vty.c b/src/osmo-hnbgw/hnbgw_vty.c index 9f1121b..3574f4e 100644 --- a/src/osmo-hnbgw/hnbgw_vty.c +++ b/src/osmo-hnbgw/hnbgw_vty.c @@ -222,8 +222,8 @@
#define SHOW_HNB_STR SHOW_STR "Display information about HNB\n"
-DEFUN(show_hnb, show_hnb_cmd, "show hnb all", - SHOW_HNB_STR "All HNB\n") +DEFUN(show_hnb, show_hnb_cmd, "show hnb", + SHOW_HNB_STR) { struct hnb_context *hnb; unsigned int count = 0; @@ -243,8 +243,8 @@ return CMD_SUCCESS; }
-DEFUN(show_one_hnb, show_one_hnb_cmd, "show hnb NAME ", - SHOW_HNB_STR "HNB name\n") +DEFUN(show_one_hnb, show_one_hnb_cmd, "show hnb name NAME", + SHOW_HNB_STR "HNB name\n" "HNB name\n") { struct hnb_context *hnb; const char *identity_info = argv[0];