ia64/xen-unstable

changeset 13049:6477a182e4e9

Replace the error message when invalid xm commands are given.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Fri Dec 15 09:08:41 2006 +0000 (2006-12-15)
parents 29ae139a0c72
children 67c5d83cdcd2
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Fri Dec 15 02:01:38 2006 +0000
     1.2 +++ b/tools/python/xen/xm/main.py	Fri Dec 15 09:08:41 2006 +0000
     1.3 @@ -1737,6 +1737,7 @@ def main(argv=sys.argv):
     1.4          _, rc = _run_cmd(cmd, cmd_name, args)
     1.5          sys.exit(rc)
     1.6      else:
     1.7 +        err('Subcommand %s not found!' % cmd_name)
     1.8          usage()
     1.9  
    1.10  def _run_cmd(cmd, cmd_name, args):