Fix RemConfFS - add code to list acl/ and update for new SQLAlchemy
[invirt/packages/invirt-remote.git] / files / usr / sbin / sipb-xen-remctl-help
index e497d29..2646fbd 100755 (executable)
@@ -3,10 +3,11 @@
 Help on using the Invirt remctl functions.
 """
 import sys
-
+from invirt.config import structs as config
 
 help = [
     ('list',      'show your VM\'s state (with xm list)'),
+    ('listhost',  'show on what host, if any, your VM is running'),
     ('list-long', 'show your VM\'s state as an sexp (with xm list --long)'),
     ('vcpu-list', 'show your VM\'s state (with xm vcpu-list)'),
     ('uptime',    'show your VM\'s state (with xm uptime)'),
@@ -25,7 +26,7 @@ def print_help(name, text):
 
 def main(args):
     args = [n for n in args if n in helpdict]
-    print 'remctl remote control <machine> <command>'
+    print 'remctl %s control <machine> <command>' % config.remote.hostname
     if args:
         for name in args:
             print_help(name, helpdict[name])