Fixes #348
Short of completely rewriting the command line parser and ignoring Cobra, we are subject to a fair number of limitations for backward compatibility.
Of note:
The os.Args array doesn't give any clue whether the argument was passed in quotes.
Cobra doesn't parse the raw command line, it relies on the args array and its limitations.
This fix increases the number of command line variants that will be ODBC compatible but is far from exhaustive.
Users who don't use commas and dashes in their file names will be fine using space-delimited arguments for -i.
Fixes #348 Short of completely rewriting the command line parser and ignoring Cobra, we are subject to a fair number of limitations for backward compatibility.
Of note:
os.Args
array doesn't give any clue whether the argument was passed in quotes.This fix increases the number of command line variants that will be ODBC compatible but is far from exhaustive. Users who don't use commas and dashes in their file names will be fine using space-delimited arguments for
-i
.