From e91f17de87175d822ae7e3d3238e7a0021a645ad Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 26 Aug 2013 14:57:39 +0200 Subject: options: change `config error' to `command line error' messages --- src/options.c | 4 ++-- 1 file 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]); } } -- cgit v1.2.3