From: Amos Jeffries Date: Mon, 12 Jan 2015 08:11:06 +0000 (-0800) Subject: squidclient: Fix -A and -P options X-Git-Tag: merge-candidate-3-v1~358 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff2b7a42b38ebea12cd7e77bf3a1799fc237fcb7;p=thirdparty%2Fsquid.git 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. --- 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[] = {