Skip to content

Commit

Permalink
shpc config get now only prints value of key, similar to shpc view get
Browse files Browse the repository at this point in the history
Signed-off-by: Marco De La Pierre <[email protected]>
  • Loading branch information
marcodelapierre committed Sep 28, 2023
1 parent d03b1e0 commit 37f603d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shpc/client/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def main(args, parser, extra, subparser):
for key in args.params:
value = cli.settings.get(key)
value = "Unset" if value is None else value
logger.info("%s %s" % (key.ljust(30), value))
# similar to view get in view.py
print(value)

else:
logger.error("%s is not a recognized command." % command)

0 comments on commit 37f603d

Please sign in to comment.