diff options
author | Prasanna Kumar Kalever <prasanna.kalever@redhat.com> | 2017-02-15 18:53:59 +0530 |
---|---|---|
committer | Prasanna Kumar Kalever <prasanna.kalever@redhat.com> | 2017-02-15 18:57:35 +0530 |
commit | d7775f350c3c96dcf5c2eea7097cd42e980eb4f2 (patch) | |
tree | 593d322e5b00439d7e89f11d2b86638083ddc6f3 /utils | |
parent | b361cc1ce3ef431d6aa53003b465ef323db7e3fc (diff) |
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 <prasanna.kalever@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
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, }; |