mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-18 19:50:54 +00:00
[MINOR] startup: don't imply -q with -D
It is recommended to have -D in init scripts, but -D also implies quiet mode, which hides warning messages, and both options are now completely unrelated. Remove the implication to get warnings with -D.
This commit is contained in:
parent
791588858e
commit
6bde87b757
@ -203,7 +203,7 @@ void usage(char *name)
|
||||
" -v displays version ; -vv shows known build options.\n"
|
||||
" -d enters debug mode ; -db only disables background mode.\n"
|
||||
" -V enters verbose mode (disables quiet mode)\n"
|
||||
" -D goes daemon ; implies -q\n"
|
||||
" -D goes daemon\n"
|
||||
" -q quiet mode : don't display messages\n"
|
||||
" -c check mode : only check config file and exit\n"
|
||||
" -n sets the maximum total # of connections (%d)\n"
|
||||
@ -475,7 +475,7 @@ void init(int argc, char **argv)
|
||||
else if (*flag == 'c')
|
||||
arg_mode |= MODE_CHECK;
|
||||
else if (*flag == 'D')
|
||||
arg_mode |= MODE_DAEMON | MODE_QUIET;
|
||||
arg_mode |= MODE_DAEMON;
|
||||
else if (*flag == 'q')
|
||||
arg_mode |= MODE_QUIET;
|
||||
else if (*flag == 's' && (flag[1] == 'f' || flag[1] == 't')) {
|
||||
|
Loading…
Reference in New Issue
Block a user