cwctl.py
branchstable
changeset 3486 ea6bf6f9ba0c
parent 3198 d2f48d30e73e
child 3503 06bced8edddf
child 3560 7d76775f965d
--- a/cwctl.py	Fri Sep 25 11:01:23 2009 +0200
+++ b/cwctl.py	Fri Sep 25 20:49:41 2009 +0200
@@ -171,8 +171,7 @@
         """run the command with its specific arguments"""
         if args:
             raise BadCommandUsage('Too much arguments')
-        print 'CubicWeb version:', cwcfg.cubicweb_version()
-        print 'Detected mode:', cwcfg.mode
+        print 'CubicWeb %s (%s mode)' % (cwcfg.cubicweb_version(), cwcfg.mode)
         print
         print 'Available configurations:'
         for config in CONFIGURATIONS: