write: Improve help text of --writer.
[paraslash.git] / m4 / gengetopt / client.m4
1 args "--unamed-opts=command --no-handle-error --conf-parser --no-handle-version --no-handle-help"
2
3 purpose "Communicate with para_server through the paraslash control port"
4
5 include(header.m4)
6 define(CURRENT_PROGRAM,para_client)
7 define(DEFAULT_CONFIG_FILE,~/.paraslash/client.conf)
8 define(DEFAULT_HISTORY_FILE,~/.paraslash/client.history)
9 <qu>
10 option "hostname" i
11 #~~~~~~~~~~~~~~~~~~
12 "ip or host to connect"
13 string typestr = "host"
14 default = "localhost"
15 optional
16
17 option "user" u
18 #~~~~~~~~~~~~~~
19 "paraslash username"
20 string typestr = "username"
21 default = "<current user>"
22 optional
23
24 option "server-port" p
25 #~~~~~~~~~~~~~~~~~~~~~
26 "port to connect"
27 int typestr = "port"
28 default = "2990"
29 optional
30
31 option "key-file" k
32 #~~~~~~~~~~~~~~~~~~
33 "path to private key"
34 string typestr = "filename"
35 optional
36 details = "
37 If not given, the following files are tried, in order:
38 $HOME/.paraslash/key.$LOGNAME, $HOME/.ssh/id_rsa. It is a fatal
39 error if the key file can not be opened, or is world-readable.
40 "
41 </qu>
42
43 include(loglevel.m4)
44 include(config_file.m4)
45 include(history_file.m4)
46 include(complete.m4)