ia64/xen-unstable

changeset 19199:94e12fa57816

xm save: Display help text if bad options specified.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Feb 12 10:53:10 2009 +0000 (2009-02-12)
parents a624353a668d
children 32b154137492
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Thu Feb 12 10:52:05 2009 +0000
     1.2 +++ b/tools/python/xen/xm/main.py	Thu Feb 12 10:53:10 2009 +0000
     1.3 @@ -739,7 +739,7 @@ def xm_save(args):
     1.4          (options, params) = getopt.gnu_getopt(args, 'c', ['checkpoint'])
     1.5      except getopt.GetoptError, opterr:
     1.6          err(opterr)
     1.7 -        sys.exit(1)
     1.8 +        usage('save')
     1.9  
    1.10      checkpoint = False
    1.11      for (k, v) in options: