Skip to content

Support for -X1 is missing #593

Description

@ecki

When I use sqlcmd -X1 I get an error message. The -X1 option is recommended and documented in the help, but it leads to a non-descriptive error:

# ./sqlcmd --version
sqlcmd: Install/Create/Query SQL Server, Azure SQL, and Tools

Version: v1.8.2
# ./sqlcmd -S test.database.windows.net -G -N -Q "select 1"
-----------
          1
# ./sqlcmd -S test.database.windows.net -G -N -Q "select 1" -X1
Sqlcmd: '0': Unknown command. Enter '--help' for command help.[root@

also note that the "Unknown command" error misses a trailing line ending.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions