From: Nicolas Boisselier Date: Wed, 2 Mar 2016 11:05:37 +0000 (+0000) Subject: option netrc X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=24630d43f1ce726f92a59a82f2e278c237b67c6a;p=nb.git option netrc --- diff --git a/bin/dbq b/bin/dbq index 900c4938..07be243b 100755 --- a/bin/dbq +++ b/bin/dbq @@ -41,7 +41,7 @@ my %CURL_OPT = ( 'get|G!' => undef, # Send the -d data with a HTTP GET (H) 'silent|s!' => 1, # Silent mode (don't output anything) 'header|H=s' => \@H, # LINE Pass custom header LINE to server (H) - 'netrc|n!', # Must read .netrc for user name and password + 'netrc|n!' => 1, # Must read .netrc for user name and password ); my @CURL_OPT = keys %CURL_OPT; my $CURL_OPT_EXP = join('|',map{ /^(.*?)\|/ ? $1 : $_ } @CURL_OPT);