summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kraft <george.kraft@calxeda.com>2013-04-29 16:47:03 -0500
committerGeorge Kraft <george.kraft@calxeda.com>2013-04-29 16:47:03 -0500
commit644863ede7da4fe6368d75e958e0fa7a35b9642f (patch)
treef22b39561b1b0a4ba3299a0f55c744b845871d18
parentb7625d6647649bcef3f58c145d07fb4ffed6aca5 (diff)
downloadcxmanage-644863ede7da4fe6368d75e958e0fa7a35b9642f.tar.gz
CXMAN-194: Clean up the "cxmanage info -h" usage output
-rwxr-xr-xscripts/cxmanage10
1 files changed, 3 insertions, 7 deletions
diff --git a/scripts/cxmanage b/scripts/cxmanage
index 6aab9ac..c053551 100755
--- a/scripts/cxmanage
+++ b/scripts/cxmanage
@@ -260,13 +260,9 @@ def build_parser():
#info command
info = subparsers.add_parser('info', help='get host info')
- info.add_argument('info_type', metavar='INFO_TYPE', nargs='?',
- help='info type to get', type=lambda string: string.lower(),
- choices=list(sorted([
- 'basic',
- 'ubootenv',
- 'dump'
- ])))
+ info.add_argument('info_type', nargs='?',
+ type=lambda string: string.lower(),
+ choices=['basic', 'ubootenv', 'dump'])
info.set_defaults(func=info_command)
#ipmitool command