summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorMike McCallister <mike@mccllstr.com>2011-07-05 23:13:01 -0500
committerMike McCallister <mike@mccllstr.com>2011-07-05 23:13:01 -0500
commitdd3cf3ea1fa250d621f07af9726aced18d6fcdc4 (patch)
treeb9b0f83586b48966c819d74d4159aac0089e47a4 /src/lib
parentcb6c0137a6ab5cd3ac2c45b7b9a82865a7581045 (diff)
downloadbcfg2-dd3cf3ea1fa250d621f07af9726aced18d6fcdc4.tar.gz
bcfg2-dd3cf3ea1fa250d621f07af9726aced18d6fcdc4.tar.bz2
bcfg2-dd3cf3ea1fa250d621f07af9726aced18d6fcdc4.zip
Display bcfg2-admin viz parameter errors on stdout instead of syslog.
Also switched to use __longhelp__ instead of __shorthelp__, as __shorthelp__ isn't actually very helpful.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Admin/Viz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Admin/Viz.py b/src/lib/Server/Admin/Viz.py
index 5d7086e26..bd7c6dd05 100644
--- a/src/lib/Server/Admin/Viz.py
+++ b/src/lib/Server/Admin/Viz.py
@@ -53,7 +53,7 @@ class Viz(Bcfg2.Server.Admin.MetadataCore):
except getopt.GetoptError:
msg = sys.exc_info()[1]
print(msg)
- self.log.error(self.__shorthelp__)
+ print(self.__longhelp__)
raise SystemExit(1)
#FIXME: is this for --raw?