Changeset 24126 for trunk/DataStore/scripts/dsproductls
- Timestamp:
- May 9, 2009, 2:20:29 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/DataStore/scripts/dsproductls (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataStore/scripts/dsproductls
r18763 r24126 16 16 use Pod::Usage qw( pod2usage ); 17 17 18 my ($uri, $last_fileset, $timeout );18 my ($uri, $last_fileset, $timeout, $extra); 19 19 20 20 GetOptions( 21 21 'uri|u=s' => \$uri, 22 22 'last_fileset|l=s' => \$last_fileset, 23 'timeout|t=s' => \$timeout, 23 'timeout|t=s' => \$timeout, 24 'extra|e' => \$extra, 24 25 ) or pod2usage( 2 ); 25 26 … … 59 60 print "# uri fileset datetime type\n"; 60 61 foreach my $fs (@$data) { 61 print $fs->uri, " ", $fs->fileset, " ", $fs->datetime, " ", $fs->type, "\n"; 62 print $fs->uri, " ", $fs->fileset, " ", $fs->datetime, " ", $fs->type; 63 if ($extra) { 64 my $cols = $fs->extra; 65 foreach my $col (@$cols) { 66 print " ", $col; 67 } 68 } 69 print "\n"; 62 70 } 63 71 … … 84 92 The URI of the file to be retrieved. 85 93 86 =item * --l st_fileset|-l <filesetid>94 =item * --last_fileset|-l <filesetid> 87 95 88 96 The FileSet ID of the last FileSet that you've seen. … … 94 102 The ammount of time (in seconds) to wait for a response from the DataStore 95 103 after making an HTTP request. The default is 30s. 104 105 Optional. 106 107 =item * --extra|-e 108 109 Print out any extra columns in the listing. 96 110 97 111 Optional.
Note:
See TracChangeset
for help on using the changeset viewer.
