[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Replace the error message when invalid xm commands are given.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID 6477a182e4e909a079d21df055ef9a7139559947
# Parent  29ae139a0c72ba952a447f5b0a29538b35d97a41
Replace the error message when invalid xm commands are given.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xm/main.py |    1 +
 1 files changed, 1 insertion(+)

diff -r 29ae139a0c72 -r 6477a182e4e9 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Fri Dec 15 02:01:38 2006 +0000
+++ b/tools/python/xen/xm/main.py       Fri Dec 15 09:08:41 2006 +0000
@@ -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):

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.