]> git.donarmstrong.com Git - biopieces.git/commitdiff
corrected ugly bug
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 24 Jul 2008 06:42:45 +0000 (06:42 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 24 Jul 2008 06:42:45 +0000 (06:42 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@190 74ccb610-7750-0410-82ae-013aeee3265d

code_perl/Maasha/Biopieces.pm

index d2d83ad322da5be26891c1adbcb5e212afc013f7..ee38e282d4392a56f181713480cfe66b59d40576 100644 (file)
@@ -939,7 +939,7 @@ sub get_options
 
 #    print STDERR Dumper( \%options );
 
-    if ( -t STDIN && scalar( keys %options ) == 1 or $options{ "help" } ) {
+    if ( -t STDIN && scalar( keys %options ) == 0 or $options{ "help" } ) {
         return wantarray ? %options : \%options;
     }