diff options
author | Mike McCallister <mike@mccllstr.com> | 2011-07-05 23:13:01 -0500 |
---|---|---|
committer | Mike McCallister <mike@mccllstr.com> | 2011-07-05 23:13:01 -0500 |
commit | dd3cf3ea1fa250d621f07af9726aced18d6fcdc4 (patch) | |
tree | b9b0f83586b48966c819d74d4159aac0089e47a4 /src/lib/Server | |
parent | cb6c0137a6ab5cd3ac2c45b7b9a82865a7581045 (diff) | |
download | bcfg2-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/Server')
-rw-r--r-- | src/lib/Server/Admin/Viz.py | 2 |
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? |