client.m4: Adjust coding style of ggo options.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 Mar 2015 21:30:02 +0000 (21:30 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 22 Jul 2015 08:01:02 +0000 (10:01 +0200)
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

index 0530d39..f021ca5 100644 (file)
@@ -7,10 +7,32 @@ define(CURRENT_PROGRAM,para_client)
 define(DEFAULT_CONFIG_FILE,~/.paraslash/client.conf)
 define(DEFAULT_HISTORY_FILE,~/.paraslash/client.history)
 <qu>
-option "hostname" i "ip or host to connect" string typestr="host" default="localhost" optional
-option "user" u "paraslash username" string typestr="username" default="<current user>" optional
-option "server-port" p "port to connect" int typestr="port" default="2990" optional
-option "key-file" k "(default='~/.paraslash/key.<user>')" 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 = "<current user>"
+optional
+
+option "server-port" p
+#~~~~~~~~~~~~~~~~~~~~~
+"port to connect"
+int typestr = "port"
+default = "2990"
+optional
+
+option "key-file" k
+#~~~~~~~~~~~~~~~~~~
+"(default='~/.paraslash/key.<user>')"
+string typestr = "filename"
+optional
 </qu>
 
 include(loglevel.m4)