microsoft / go-sqlcmd

The new sqlcmd, CLI for SQL Server and Azure SQL (winget install sqlcmd / sqlcmd create mssql / sqlcmd open ads)
https://learn.microsoft.com/sql/tools/sqlcmd/go-sqlcmd-utility
MIT License
342 stars 60 forks source link

Fix: space delimited args for -i and -v #440

Closed shueybubbles closed 1 year ago

shueybubbles commented 1 year ago

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:

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.