babelfish-for-postgresql / babelfish_compass

Babelfish Compass: compatibility assessment tool for Babelfish for PostgreSQL
Apache License 2.0
108 stars 21 forks source link

Fix -recursive input to work with input files listed anywhere on the command line #62

Closed brtrvn closed 2 years ago

brtrvn commented 2 years ago

Description

Prior to the new -recursive feature, you could type the input files anywhere on the command line (besides the 1st argument which is always the report name or as a value to an option that requires one). The input files were added to the collection of files for BabelfishCompass to process as we looped over the command line arguments. Now, with the new -recursive feature, we need to know whether any of -recursive, -include [pattern], or -exclude [pattern] are set so we can properly process the input file string.

Issues Resolved

61

Check List

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 license.

For more information on following Developer Certificate of Origin and signing off your commits, please check here.