cwctl.py
changeset 3503 06bced8edddf
parent 3199 fc63b80ec979
parent 3486 ea6bf6f9ba0c
child 3589 a5432f99f2d9
--- a/cwctl.py	Sat Sep 26 11:44:35 2009 +0200
+++ b/cwctl.py	Mon Sep 28 12:37:01 2009 +0200
@@ -172,8 +172,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: