From 3f210615cdf00849937be551f7c06ef17898d509 Mon Sep 17 00:00:00 2001 From: Chris Frey Date: Fri, 31 Dec 2010 16:00:49 -0500 Subject: [PATCH] tools: let the global options come before -i or -o in bio The global options can come anywhere in the sequence. Only the input/output specific options need to come in order. --- tools/bio.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/bio.cc b/tools/bio.cc index 43db81f6..04d1decf 100644 --- a/tools/bio.cc +++ b/tools/bio.cc @@ -962,9 +962,14 @@ int App::main(int argc, char *argv[]) if( cmd == -1 ) break; - // first option must be in or out + // first option must be in or out, or a global option if( !current ) { - if( cmd != 'i' && cmd != 'o' && cmd != 'S' ) { + if( cmd != 'i' && \ + cmd != 'o' && \ + cmd != 'S' && \ + cmd != 'I' && \ + cmd != 'v' ) + { Usage(); return 1; } -- 2.11.4.GIT