summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nova-manage5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/nova-manage b/bin/nova-manage
index c761ff6cc..4a4b2fda8 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -1131,8 +1131,11 @@ def main():
try:
cliutils.validate_args(fn, *fn_args, **fn_kwargs)
except cliutils.MissingArgs as e:
+ # NOTE(mikal): this isn't the most helpful error message ever. It is
+ # long, and tells you a lot of things you probably don't want to know
+ # if you just got a single arg wrong.
print fn.__doc__
- parser.print_help()
+ CONF.print_help()
print e
sys.exit(1)
try: