Changeset 20156
- Timestamp:
- Oct 14, 2008, 3:57:10 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/bin/neb-voladm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/bin/neb-voladm
r20155 r20156 3 3 # Copyright (C) 2008 Joshua Hoblitt 4 4 # 5 # $Id: neb-voladm,v 1. 4 2008-10-15 01:56:00 jhoblitt Exp $5 # $Id: neb-voladm,v 1.5 2008-10-15 01:57:10 jhoblitt Exp $ 6 6 7 7 use strict; … … 57 57 # are we listing the volumes or updating? 58 58 if (defined $allocate or defined $available or defined $xattr) { 59 pod2usage( -msg => "Options: --allocate, --avai able, and --xattr Require options --vhost or --vname", -exitval => 2 )59 pod2usage( -msg => "Options: --allocate, --available, and --xattr Require options --vhost or --vname", -exitval => 2 ) 60 60 unless defined $vhost or defined $vname; 61 pod2usage( -msg => "Options: --allocate, --avai able, and --xattr Must be 0 or 1", -exitval => 2)61 pod2usage( -msg => "Options: --allocate, --available, and --xattr Must be 0 or 1", -exitval => 2) 62 62 if (defined $allocate and $allocate !~ m/^[01]$/) 63 63 or (defined $available and $available !~ m/^[01]$/)
Note:
See TracChangeset
for help on using the changeset viewer.
