Changeset 16263
- Timestamp:
- Jan 29, 2008, 2:15:18 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
Nebulous-Server/Changes (modified) (1 diff)
-
Nebulous/Changes (modified) (1 diff)
-
Nebulous/bin/neb-ls (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/Changes
r16262 r16263 2 2 3 3 0.07 4 - add neb-ls -l|-1 option 5 - add neb-fsck 4 6 - add neb-stat 5 7 - add additional fkey constrains to the instance table -
trunk/Nebulous/Changes
r16262 r16263 2 2 3 3 0.07 4 - add neb-ls -l|-1 option 5 - add neb-fsck 4 6 - add neb-stat 5 7 - add additional fkey constrains to the instance table -
trunk/Nebulous/bin/neb-ls
r13074 r16263 1 1 #!/usr/bin/env perl 2 2 3 # Copyright (C) 2007 Joshua Hoblitt3 # Copyright (C) 2007-2008 Joshua Hoblitt 4 4 # 5 # $Id: neb-ls,v 1. 4 2007-04-28 01:19:59jhoblitt Exp $5 # $Id: neb-ls,v 1.5 2008-01-30 00:15:18 jhoblitt Exp $ 6 6 7 7 use strict; … … 9 9 10 10 use vars qw( $VERSION ); 11 $VERSION = '0.0 1';11 $VERSION = '0.02'; 12 12 13 13 use Nebulous::Client; … … 16 16 use Pod::Usage qw( pod2usage ); 17 17 18 my ($server );18 my ($server, $long); 19 19 20 20 $server = $ENV{'NEB_SERVER'} unless $server; 21 21 22 22 GetOptions( 23 'server|s=s' => \$server, 23 'server|s=s' => \$server, 24 'l|1' => \$long, 24 25 ) || pod2usage( 2 ); 25 26 … … 43 44 44 45 if ($keys) { 45 print join(" ", @{ $keys }), "\n"; 46 if ($long) { 47 print join("\n", @{ $keys }), "\n"; 48 } else { 49 print join(" ", @{ $keys }), "\n"; 50 } 46 51 } 47 52 … … 56 61 =head1 SYNOPSIS 57 62 58 neb-ls [--server <URL>] <pattern>63 neb-ls [--server <URL>] [-l|-1] <pattern> 59 64 60 65 =head1 DESCRIPTION … … 67 72 68 73 =over 4 74 75 =item * -l|-1 76 77 Use a long listing format. 78 79 Optional 69 80 70 81 =item * --server|-s <URL> … … 104 115 =head1 COPYRIGHT 105 116 106 Copyright (C) 2007 Joshua Hoblitt. All rights reserved.117 Copyright (C) 2007-2008 Joshua Hoblitt. All rights reserved. 107 118 108 119 This program is free software; you can redistribute it and/or modify it under
Note:
See TracChangeset
for help on using the changeset viewer.
