+args "--unamed-opts=audio_file"
+
include(header.m4)
<qu>
text "
+args "--unamed-opts=command"
+
include(header.m4)
<qu>
option "socket" s
+args "--no-handle-help"
+
include(header.m4)
define(CURRENT_PROGRAM,para_audiod)
define(DEFAULT_CONFIG_FILE,~/.paraslash/audiod.conf)
+args "--unamed-opts=command --no-handle-error"
+
include(header.m4)
define(CURRENT_PROGRAM,para_client)
define(DEFAULT_CONFIG_FILE,~/.paraslash/client.conf)
define(DEFAULT_HISTORY_FILE,~/.paraslash/client.history)
<qu>
-args "--no-handle-error"
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
+args "--no-handle-help"
+
include(header.m4)
include(loglevel.m4)
<qu>
--func-name $(subst _write.ggo,,$(<F))_cmdline_parser < $<
define ggo-opts
-$(if $(filter recv filter write audiod,$(*F)), --no-handle-help) \
-$(if $(filter afh,$(*F)), --unamed-opts=audio_file) \
-$(if $(filter client audioc,$(*F)), --unamed-opts=command) \
--conf-parser \
--output-dir=$(cmdline_dir) \
--no-handle-version \
+args "--no-handle-help"
+
include(header.m4)
include(loglevel.m4)
+args "--no-handle-help"
+
include(header.m4)
include(loglevel.m4)