[X2Go-Commits] [x2gobroker] 03/05: x2gobroker-testauth: Improve help text of --backend option. Display the current backend default.

git-admin at x2go.org git-admin at x2go.org
Thu Oct 30 06:17:37 CET 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gobroker.

commit e97b4cf8c87e722958cdc389fddcb1d49112bed6
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Oct 30 05:38:43 2014 +0100

    x2gobroker-testauth: Improve help text of --backend option. Display the current backend default.
---
 bin/x2gobroker-testauth |    2 +-
 debian/changelog        |    2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/x2gobroker-testauth b/bin/x2gobroker-testauth
index 7e264f1..ca15f6f 100755
--- a/bin/x2gobroker-testauth
+++ b/bin/x2gobroker-testauth
@@ -51,7 +51,7 @@ if __name__ == "__main__":
     ]
     misc_options = [
         {'args':['-C','--config-file'], 'default': None, 'metavar': 'CONFIG_FILE', 'help': 'Specify a special configuration file name, default is: {default}'.format(default=x2gobroker.defaults.X2GOBROKER_CONFIG), },
-        {'args':['-b','--backend'], 'default': x2gobroker.defaults.X2GOBROKER_DEFAULT_BACKEND, 'metavar': 'BACKEND', 'help': 'Use this specific backend for testing authentication, see x2gobroker.conf for a list of configured and enabled backends', },
+        {'args':['-b','--backend'], 'default': x2gobroker.defaults.X2GOBROKER_DEFAULT_BACKEND, 'metavar': 'BACKEND', 'help': 'Use this specific backend for testing authentication, see x2gobroker.conf for a list of configured and enabled backends, default is: {default_backend}'.format(default_backend=x2gobroker.defaults.X2GOBROKER_DEFAULT_BACKEND), },
         {'args':['-d','--debug'], 'default': False, 'action': 'store_true', 'help': 'enable debugging code', },
     ]
     p = argparse.ArgumentParser(description='X2Go Session Broker (Authentication Test Utility)',\
diff --git a/debian/changelog b/debian/changelog
index 4768c6f..63578a7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -181,6 +181,8 @@ x2gobroker (0.0.3.0-0x2go1) UNRELEASED; urgency=low
       (identical to the PAM configuration file for Debian).
     - x2gobroker-testauth: Don't use hard-coded default backend. Obtain
       X2GOBROKER_DEFAULT_BACKEND from x2gobroker.defaults instead.
+    - x2gobroker-testauth: Improve help text of --backend option. Display
+      the current backend default.
   * debian/control:
     + Provide separate bin:package for SSH brokerage: x2gobroker-ssh.
     + Replace LDAP support with session brokerage support in LONG_DESCRIPTION.

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git


More information about the x2go-commits mailing list