From: Andre Noll <maan@tuebingen.mpg.de>
Date: Mon, 30 Mar 2015 21:39:13 +0000 (+0000)
Subject: client: Add details to --key-file option.
X-Git-Tag: v0.5.5~24
X-Git-Url: https://git.tue.mpg.de/?a=commitdiff_plain;h=88f4657834c1d19afe6e80f76c51c694eda280a3;p=paraslash.git

client: Add details to --key-file option.

The new text lists the locations where para_clients looks for
private keys.
---

diff --git a/m4/gengetopt/client.m4 b/m4/gengetopt/client.m4
index f021ca5f..a5a27a05 100644
--- a/m4/gengetopt/client.m4
+++ b/m4/gengetopt/client.m4
@@ -30,9 +30,14 @@ optional
 
 option "key-file" k
 #~~~~~~~~~~~~~~~~~~
-"(default='~/.paraslash/key.<user>')"
+"path to private key"
 string typestr = "filename"
 optional
+details = "
+	If not given, the following files are tried, in order:
+	$HOME/.paraslash/key.$LOGNAME, $HOME/.ssh/id_rsa. It is a fatal
+	error if the key file can not be opened, or is world-readable.
+"
 </qu>
 
 include(loglevel.m4)