Skip to content

Commit efaa12e

Browse files
authored
help text message resumed (#353)
1 parent 13a1680 commit efaa12e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/sqlcmd/sqlcmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func SetScreenWidthFlag(args *SQLCmdArguments, rootCmd *cobra.Command) {
189189
}
190190

191191
func setFlags(rootCmd *cobra.Command, args *SQLCmdArguments) {
192-
rootCmd.Flags().BoolVarP(&args.Help, "help", "?", false, "Show syntax summary.")
192+
rootCmd.Flags().BoolVarP(&args.Help, "help", "?", false, "-? shows this syntax summary, --help shows modern sqlcmd sub-command help")
193193
var inputfiles []string
194194
rootCmd.Flags().StringSliceVarP(&args.InputFile, "input-file", "i", inputfiles, "Identifies one or more files that contain batches of SQL statements. If one or more files do not exist, sqlcmd will exit. Mutually exclusive with -Q/-q.")
195195
rootCmd.Flags().StringVarP(&args.OutputFile, "output-file", "o", "", "Identifies the file that receives output from sqlcmd.")

0 commit comments

Comments
 (0)