From ff2b7a42b38ebea12cd7e77bf3a1799fc237fcb7 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Mon, 12 Jan 2015 00:11:06 -0800 Subject: [PATCH] squidclient: Fix -A and -P options With --https addition the A and P values are re-used for --cert and --params within HTTPS options. This works for long options, but they cannot be listed as short options by the Transport:: module because they are required at the top level by old-style HTTP parameters. --- tools/squidclient/Transport.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/squidclient/Transport.cc b/tools/squidclient/Transport.cc index dd67bbdf67..a916d02d82 100644 --- a/tools/squidclient/Transport.cc +++ b/tools/squidclient/Transport.cc @@ -53,7 +53,7 @@ bool Transport::TheConfig::parseCommandOpts(int argc, char *argv[], int c, int &optIndex) { bool tls = false; - const char *shortOpStr = "A:C:h:l:p:P:T:?"; + const char *shortOpStr = "h:l:p:T:?"; // options for controlling squidclient transport connection static struct option longOptions[] = { -- 2.47.3