Commit 8b292128 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make sure that -F and -d are exclusive.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1558 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 937a478a
......@@ -506,6 +506,11 @@ main(int argc, char *argv[])
exit(1);
}
if (d_flag && F_flag) {
fprintf(stderr, "Only one of -d or -F can be specified\n");
usage();
}
if (b_arg != NULL && f_arg != NULL) {
fprintf(stderr, "Only one of -b or -f can be specified\n");
usage();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment