mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
Replace the error message when invalid xm commands are given.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
2b0ca176fc
commit
b5c55da7ce
1 file changed
+1
@@ -1737,6 +1737,7 @@ def main(argv=sys.argv):
|
||||
_, rc = _run_cmd(cmd, cmd_name, args)
|
||||
sys.exit(rc)
|
||||
else:
|
||||
err('Subcommand %s not found!' % cmd_name)
|
||||
usage()
|
||||
|
||||
def _run_cmd(cmd, cmd_name, args):
|
||||
|
||||