summaryrefslogtreecommitdiff
path: root/src/monkeysphere-authentication
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-01-31 22:32:51 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-01-31 22:32:51 -0500
commitb2bf2d17cd6eb5edcb69d51867b7d17e60751986 (patch)
tree1c01d473f32bf4994b7c282b16b52a7194aed96f /src/monkeysphere-authentication
parentaf6f93d261025cd859996fce65e7edfc68fb1f34 (diff)
some more fixes and tweaks to get things working in the new setup
Diffstat (limited to 'src/monkeysphere-authentication')
-rwxr-xr-xsrc/monkeysphere-authentication18
1 files changed, 13 insertions, 5 deletions
diff --git a/src/monkeysphere-authentication b/src/monkeysphere-authentication
index 56a8877..a8f17f9 100755
--- a/src/monkeysphere-authentication
+++ b/src/monkeysphere-authentication
@@ -12,8 +12,6 @@
# version 3 or later.
########################################################################
-set -e
-
PGRM=$(basename $0)
SYSSHAREDIR=${MONKEYSPHERE_SYSSHAREDIR:-"/usr/share/monkeysphere"}
@@ -57,9 +55,8 @@ subcommands:
remove-id-certifier (c-) KEYID remove a certification key
list-id-certifiers (c) list certification keys
- expert
- diagnostics (d) monkeysphere authentication status
- gpg-cmd CMD execute gpg command
+ expert <expert-subcommand> run expert command
+ expert help expert command help
version (v) show version number
help (h,?) this help
@@ -182,6 +179,17 @@ case $COMMAND in
SUBCOMMAND="$1"
shift
case "$SUBCOMMAND" in
+ 'help'|'h'|'?')
+ cat <<EOF
+usage: $PGRM expert <subcommand> [options] [args]
+
+expert subcommands:
+ diagnostics (d) monkeysphere authentication status
+ gpg-cmd CMD execute gpg command
+
+EOF
+ ;;
+
'diagnostics'|'d')
source "${MASHAREDIR}/diagnostics"
diagnostics