From 0a255771f459893a05d6c91147ca541887c40e7d Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 24 Jul 2020 19:17:55 -0700 Subject: Add `--errors2stderr` & `--msgs2protocol` options. --- options.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'options.c') diff --git a/options.c b/options.c index aa61d348..3e74a086 100644 --- a/options.c +++ b/options.c @@ -611,7 +611,7 @@ static void print_info_flags(enum logcode f) #ifndef CAN_HARDLINK_SPECIAL "no " #endif - "hardlink-special", + "hardlink-specials", #ifndef SUPPORT_LINKS "no " @@ -809,7 +809,9 @@ static struct poptOption long_options[] = { {"no-v", 0, POPT_ARG_VAL, &verbose, 0, 0, 0 }, {"info", 0, POPT_ARG_STRING, 0, OPT_INFO, 0, 0 }, {"debug", 0, POPT_ARG_STRING, 0, OPT_DEBUG, 0, 0 }, + {"errors2stderr", 0, POPT_ARG_VAL, &msgs2stderr, 2, 0, 0 }, {"msgs2stderr", 0, POPT_ARG_VAL, &msgs2stderr, 1, 0, 0 }, + {"msgs2protocol", 0, POPT_ARG_VAL, &msgs2stderr, 0, 0, 0 }, {"no-msgs2stderr", 0, POPT_ARG_VAL, &msgs2stderr, 0, 0, 0 }, {"quiet", 'q', POPT_ARG_NONE, 0, 'q', 0, 0 }, {"motd", 0, POPT_ARG_VAL, &output_motd, 1, 0, 0 }, -- cgit v1.2.1