mirror of
https://github.com/curl/curl.git
synced 2026-07-28 17:33:06 +03:00
tool: add --unix-socket option
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
parent
970c22f970
commit
c8644d1f63
5 changed files with 11 additions and 0 deletions
|
|
@ -176,6 +176,7 @@ static const struct LongShort aliases[]= {
|
|||
{"$J", "metalink", FALSE},
|
||||
{"$K", "sasl-ir", FALSE},
|
||||
{"$L", "test-event", FALSE},
|
||||
{"$M", "unix-socket", TRUE},
|
||||
{"0", "http1.0", FALSE},
|
||||
{"01", "http1.1", FALSE},
|
||||
{"02", "http2", FALSE},
|
||||
|
|
@ -976,6 +977,9 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
warnf(config, "--test-event is ignored unless a debug build!\n");
|
||||
#endif
|
||||
break;
|
||||
case 'M': /* --unix-socket */
|
||||
GetStr(&config->unix_socket_path, nextarg);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case '#': /* --progress-bar */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue