From bb073aafd9c921d59031c0677dab2b02a86647a1 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 30 Mar 2015 21:30:02 +0000 Subject: [PATCH 1/1] client.m4: Adjust coding style of ggo options. All other commands use one line per directive of each option, which improves the readability of the ggo file. This commit changes the .m4 file for the client options to match this style of specifying the gengetopt options. No real changes. --- m4/gengetopt/client.m4 | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/m4/gengetopt/client.m4 b/m4/gengetopt/client.m4 index 0530d395..f021ca5f 100644 --- a/m4/gengetopt/client.m4 +++ b/m4/gengetopt/client.m4 @@ -7,10 +7,32 @@ 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 +#~~~~~~~~~~~~~~~~~~ +"(default='~/.paraslash/key.')" +string typestr = "filename" +optional include(loglevel.m4) -- 2.39.2