-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dnsdist cli option improvements #6435
Conversation
Please feel free to include 6433 in this one. |
Includes #6433 now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a single nit, looks very good otherwise!
pdns/dnsdist.cc
Outdated
@@ -2082,9 +2084,9 @@ try | |||
string optstring; | |||
for(;;) { | |||
#ifdef HAVE_LIBSODIUM | |||
int c=getopt_long(argc, argv, "a:hcde:C:k:l:vp:g:u:V", longopts, &longindex); | |||
int c=getopt_long(argc, argv, "a:hce:C:k:l:v:g:u:V", longopts, &longindex); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--verbose
doesn't take any argument so the :
after the v
should go (same thing below).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
plus more cleanup... |
Short description
Tiny improvements to the available dnsdist program options, and the --help and --version output.
Intended to be on top of #6433, might need a rebase then.
Checklist
I have: