diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index 586d00e2a..b47dced06 100644 --- a/src/main.c +++ b/src/main.c @@ -2634,8 +2634,9 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */ } break; case 'N': - /* disable the output I/O buffering */ - config->nobuffer = (bool)(!toggle); + /* disable the output I/O buffering. note that the option is called + --buffer but is mostly used in the negative form: --no-buffer */ + config->nobuffer = (bool)(longopt ? !toggle : toggle); break; case 'O': /* --remote-name */ if(subletter == 'a') { /* --remote-name-all */ |