Skip to content

Support for -X1 is missing #593

@ecki

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.

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