diff options
author | Wayne Davison <wayne@opencoder.net> | 2020-07-24 19:17:55 -0700 |
---|---|---|
committer | Wayne Davison <wayne@opencoder.net> | 2020-07-24 22:48:37 -0700 |
commit | 0a255771f459893a05d6c91147ca541887c40e7d (patch) | |
tree | f0f0446962e8c6dd0cdec6b367f2fe488792b029 /options.c | |
parent | e07d79ad508c23b9290b3d6379a140d232ddfe35 (diff) | |
download | rsync-0a255771f459893a05d6c91147ca541887c40e7d.tar.gz |
Add `--errors2stderr` & `--msgs2protocol` options.
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 }, |