X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=m4%2Fgengetopt%2Fclient.m4;h=a5a27a05013be9224403388902df078da5e182f2;hp=0530d39551993fb5b9ec35641f975732c4b84068;hb=5e8d8a8eea6de9459ebdf4498f9f061c84bfa63a;hpb=f76ab46a9216133332cb7e17d38d392caeca22cb diff --git a/m4/gengetopt/client.m4 b/m4/gengetopt/client.m4 index 0530d395..a5a27a05 100644 --- a/m4/gengetopt/client.m4 +++ b/m4/gengetopt/client.m4 @@ -7,10 +7,37 @@ define(CURRENT_PROGRAM,para_client) define(DEFAULT_CONFIG_FILE,~/.paraslash/client.conf) define(DEFAULT_HISTORY_FILE,~/.paraslash/client.history) -option "hostname" i "ip or host to connect" string typestr="host" default="localhost" optional -option "user" u "paraslash username" string typestr="username" default="" optional -option "server-port" p "port to connect" int typestr="port" default="2990" optional -option "key-file" k "(default='~/.paraslash/key.')" string typestr="filename" optional +option "hostname" i +#~~~~~~~~~~~~~~~~~~ +"ip or host to connect" +string typestr = "host" +default = "localhost" +optional + +option "user" u +#~~~~~~~~~~~~~~ +"paraslash username" +string typestr = "username" +default = "" +optional + +option "server-port" p +#~~~~~~~~~~~~~~~~~~~~~ +"port to connect" +int typestr = "port" +default = "2990" +optional + +option "key-file" k +#~~~~~~~~~~~~~~~~~~ +"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. +" include(loglevel.m4)