Since check_flags() uses line.find()here to look for -2 in command line args before projin or projout are processed , if the either contain -2 (e.g. --projin=data-2/xml_import.xml) then check_flags() will use & delete it from the input params when processing -2. The result is an error that the input was not found (or output, whichever is first on command line.)
Since
check_flags()
usesline.find()
here to look for-2
in command line args beforeprojin
orprojout
are processed , if the either contain-2
(e.g.--projin=data-2/xml_import.xml
) thencheck_flags()
will use & delete it from the input params when processing-2
. The result is an error that the input was not found (or output, whichever is first on command line.)