diff --git a/internal/cmd/cmd.go b/internal/cmd/cmd.go index 1c872095ee..64ae1bc984 100644 --- a/internal/cmd/cmd.go +++ b/internal/cmd/cmd.go @@ -33,7 +33,7 @@ func Do(args []string, stdin io.Reader, stdout io.Writer, stderr io.Writer) int rootCmd := &cobra.Command{Use: "sqlc", SilenceUsage: true} rootCmd.PersistentFlags().StringP("file", "f", "", "specify an alternate config file (default: sqlc.yaml)") rootCmd.PersistentFlags().BoolP("experimental", "x", false, "DEPRECATED: enable experimental features (default: false)") - rootCmd.PersistentFlags().BoolP("no-remote", "nr", false, "disable remote execution (default: false)") + rootCmd.PersistentFlags().Bool("no-remote", false, "disable remote execution (default: false)") rootCmd.AddCommand(checkCmd) rootCmd.AddCommand(diffCmd)