Skip to content

Commit

Permalink
smc-tools: Fix option --version doesn't work for smcss and smc_pnet
Browse files Browse the repository at this point in the history
Fix option --version does not work as expected for the smcss and
smc_pnet commands.

Signed-off-by: Wenjia Zhang <[email protected]>
Reviewed-by: Jan Karcher <[email protected]>
  • Loading branch information
Wenjia Zhang committed Sep 29, 2022
1 parent 8183e4e commit 06b9cbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion smc_pnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ static const struct option long_opts[] = {
{ "add", 0, 0, 'a'},
{ "show", 0, 0, 's'},
{ "delete", 0, 0, 'd'},
{ "version", 0, 0, 'V' },
{ "version", 0, 0, 'v' },
{ "help", 0, 0, 'h' },
{ NULL, 0, NULL, 0}
};
Expand Down
2 changes: 1 addition & 1 deletion smcss.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ static const struct option long_opts[] = {
{ "listening", 0, 0, 'l' },
{ "smcd", 0, 0, 'D' },
{ "smcr", 0, 0, 'R' },
{ "version", 0, 0, 'V' },
{ "version", 0, 0, 'v' },
{ "wide", 0, 0, 'W' },
{ "help", 0, 0, 'h' },
{ NULL, 0, NULL, 0}
Expand Down

0 comments on commit 06b9cbe

Please sign in to comment.