From d7775f350c3c96dcf5c2eea7097cd42e980eb4f2 Mon Sep 17 00:00:00 2001 From: Prasanna Kumar Kalever Date: Wed, 15 Feb 2017 18:53:59 +0530 Subject: cli: add command to furnish pkg version info Improvements: Version info displaying. Improve help menu. This patch also makes 'mpath' option as optional (default: 1) Signed-off-by: Prasanna Kumar Kalever --- utils/utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils') diff --git a/utils/utils.h b/utils/utils.h index 5eda765..b785f8b 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -176,6 +176,7 @@ typedef enum gbCmdlineOption { GB_CLI_DELETE = 4, GB_CLI_MODIFY = 5, GB_CLI_HELP = 6, + GB_CLI_VERSION = 7, GB_CLI_OPT_MAX } gbCmdlineOption; @@ -190,6 +191,7 @@ static const char *const gbCmdlineOptLookup[] = { [GB_CLI_DELETE] = "delete", [GB_CLI_MODIFY] = "modify", [GB_CLI_HELP] = "help", + [GB_CLI_VERSION] = "version", [GB_CLI_OPT_MAX] = NULL, }; -- cgit