Changeset 26158 for trunk/DataStore/scripts/dsgetfileset
- Timestamp:
- Nov 16, 2009, 3:51:29 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/DataStore/scripts/dsgetfileset (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataStore/scripts/dsgetfileset
r25574 r26158 17 17 use File::Basename qw( basename ); 18 18 19 my ($uri, $outdir, $timeout, $ verbose);19 my ($uri, $outdir, $timeout, $no_proxy, $verbose); 20 20 21 21 GetOptions( … … 23 23 'outdir|o=s' => \$outdir, 24 24 'timeout|t=s' => \$timeout, 25 'no-proxy' => \$no_proxy, 25 26 'verbose|v' => \$verbose, 26 27 ) or pod2usage( 2 ); … … 34 35 # default http request timeout is 30s 35 36 $timeout ||= 30; 37 $no_proxy = 0 if !defined $no_proxy; 36 38 37 39 my $response = DataStore::FileSet->new( uri => $uri )->request( 38 40 ua_args => { timeout => $timeout }, 41 no_proxy => $no_proxy, 39 42 ); 40 43 … … 117 120 Optional. 118 121 122 =item * --no-proxy 123 124 Do not load proxy environment variables. 125 126 Optional. 127 119 128 =back 120 129
Note:
See TracChangeset
for help on using the changeset viewer.
