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
337 stars 59 forks source link

Add textual hint in both sqlcmd -? and sqlcmd --help that the other exists #237

Closed stuartpa closed 1 year ago

stuartpa commented 1 year ago

Feedback from Ken, we need to had some sort of textual hint, that if you do

sqlcmd -?

(which is what all users of sqlcmd so far have been trained to do)

that these users get some sort of text in the help, which says something like

Use sqlcmd --help to view modern CLI, e.g. sqlcmd create mssql

Also, when a user does sqlcmd --help, we should also have text along the lines:

Use sqlcmd -? to see all legacy flags

stuartpa commented 1 year ago

Fixed in #240