client: Add details to --key-file option.
[paraslash.git] / m4 / gengetopt / client.m4
index f021ca5fe003033a85cee26b7eccb86b90a2c088..a5a27a05013be9224403388902df078da5e182f2 100644 (file)
@@ -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)