Changeset 26158 for trunk/DataStore/scripts/dsfilesetls
- Timestamp:
- Nov 16, 2009, 3:51:29 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/DataStore/scripts/dsfilesetls (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataStore/scripts/dsfilesetls
r17752 r26158 16 16 use Pod::Usage qw( pod2usage ); 17 17 18 my ($uri, $timeout );18 my ($uri, $timeout, $no_proxy); 19 19 20 20 GetOptions( 21 21 'uri|u=s' => \$uri, 22 22 'timeout|t=s' => \$timeout, 23 'no-proxy' => \$no_proxy, 23 24 ) or pod2usage( 2 ); 24 25 … … 31 32 # default http request timeout is 30s 32 33 $timeout ||= 30; 34 $no_proxy = 0 if !defined $no_proxy; 33 35 34 36 my $response = DataStore::FileSet->new( uri => $uri )->request( 35 37 ua_args => { timeout => $timeout }, 38 no_proxy => $no_proxy, 36 39 ); 37 40 … … 91 94 Optional. 92 95 96 =item * --no-proxy 97 98 Do not load proxy environment variables. 99 100 Optional. 101 93 102 =back 94 103
Note:
See TracChangeset
for help on using the changeset viewer.
