X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?p=bin.git;a=blobdiff_plain;f=verify-status.pl;h=e3faa0cdaedec01d108dc6feee919e88a72a0452;hp=0b980456901b1f35189382e1f6f159221264314d;hb=bc9757d985d9ae06e9e7c25d5bfcd7c0557dd07d;hpb=048aac6382a1cd35c048734907a51e3be5727e42 diff --git a/verify-status.pl b/verify-status.pl index 0b98045..e3faa0c 100755 --- a/verify-status.pl +++ b/verify-status.pl @@ -2,6 +2,17 @@ use diagnostics; use strict; +my $verbose = 0; + +while (@ARGV) { + my $arg = shift; + if ($arg eq '-v' or $arg eq '--verbose') { + $verbose = 1; + } else { + warn "Unrecognized option: $arg\n"; + } +} + local (*AVAILABLE, *STATUS); open AVAILABLE, '