summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-26 14:57:39 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-26 14:57:39 +0200
commite91f17de87175d822ae7e3d3238e7a0021a645ad (patch)
tree63102168854c69a12a42d4f8938e6af7eb6b225d /src
parent81a329682b2035dc56f7c6c21815bac590f34b52 (diff)
downloadfastd-e91f17de87175d822ae7e3d3238e7a0021a645ad.tar
fastd-e91f17de87175d822ae7e3d3238e7a0021a645ad.zip
options: change `config error' to `command line error' messages
Diffstat (limited to 'src')
-rw-r--r--src/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c
index b5c1e2d..2641b1b 100644
--- a/src/options.c
+++ b/src/options.c
@@ -370,7 +370,7 @@ void fastd_config_handle_options(fastd_context_t *ctx, fastd_config_t *conf, int
if(config_match(argv[i], options, NULL)) { \
i+=2; \
if (i > argc) \
- exit_error(ctx, "config error: option `%s' needs an argument; see --help for usage", argv[i-2]); \
+ exit_error(ctx, "command line error: option `%s' needs an argument; see --help for usage", argv[i-2]); \
func(ctx, conf, argv[i-1]); \
continue; \
} \
@@ -381,6 +381,6 @@ void fastd_config_handle_options(fastd_context_t *ctx, fastd_config_t *conf, int
#undef OPTION
#undef OPTION_ARG
- exit_error(ctx, "config error: unknown option `%s'; see --help for usage", argv[i]);
+ exit_error(ctx, "command line error: unknown option `%s'; see --help for usage", argv[i]);
}
}