WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Replace the error message when invalid xm

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Replace the error message when invalid xm commands are given.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Dec 2006 10:50:30 +0000
Delivery-date: Fri, 15 Dec 2006 02:51:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Replace the error message when invalid xm commands are given., Xen patchbot-unstable <=