aboutsummaryrefslogtreecommitdiff
path: root/src/cmdline.opt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdline.opt')
-rw-r--r--src/cmdline.opt22
1 files changed, 15 insertions, 7 deletions
diff --git a/src/cmdline.opt b/src/cmdline.opt
index f43d147..389cea7 100644
--- a/src/cmdline.opt
+++ b/src/cmdline.opt
@@ -23,13 +23,13 @@ OPTIONS_BEGIN("pies",
GROUP(Operation Mode)
OPTION(config-file,c,FILE,
[<use FILE instead of the default configuration>])
BEGIN
- add_config (current_syntax, optarg);
+ config_file_add (current_syntax, optarg);
END
OPTION(config-help,,,
[<show configuration file summary>])
BEGIN
config_help ();
@@ -57,13 +57,13 @@ END
OPTION(inetd,i,,
[<run in inetd mode>])
BEGIN
if (!instance)
instance = "inetd";
- current_syntax = CONF_INETD;
+ current_syntax = &config_syntax_tab[CONF_INETD];
inetd_mode = 1;
END
OPTION(instance,,NAME,
[<set instance name>])
BEGIN
@@ -88,13 +88,14 @@ BEGIN
log_to_stderr_only = 1;
END
OPTION(syntax,,[<{pies|meta1|inetd|inittab}>],
[<expect configuration files in the given syntax>])
BEGIN
- if (str_to_config_syntax (optarg, &current_syntax))
+ current_syntax = str_to_config_syntax (optarg);
+ if (!current_syntax)
{
logmsg (LOG_ERR, _("unknown syntax type: %s"), optarg);
exit (EX_USAGE);
}
END
@@ -149,13 +150,13 @@ BEGIN
END
OPTION(restart-component,R,,
[<restart components named in the command line>])
BEGIN
log_to_stderr_only = 1;
- command = COM_RESTART;
+ command = COM_RESTART_COMPONENT;
END
OPTION(status,s,,
[<display info about the running instance>])
BEGIN
log_to_stderr_only = 1;
@@ -175,17 +176,24 @@ OPTION(dump-depmap,,,
[<dump dependency map>])
BEGIN
log_to_stderr_only = 1;
command = COM_DUMP_DEPMAP;
END
-OPTION(dump-prereq,,,
- [<dump prerequisite charts>])
+OPTION(trace-depend,,,
+ [<trace dependencies>])
BEGIN
log_to_stderr_only = 1;
- command = COM_DUMP_PREREQ;
+ command = COM_TRACE_DEPEND;
+END
+
+OPTION(trace-prereq,,,
+ [<trace prerequisites>])
+BEGIN
+ log_to_stderr_only = 1;
+ command = COM_TRACE_PREREQ;
END
OPTION(source-info,,,
[<show source info with debugging messages>])
BEGIN
source_info_option = 1;

Return to:

Send suggestions and report system problems to the System administrator.