diff --git a/cli/export.go b/cli/export.go index 3e688d42..4cccd96f 100644 --- a/cli/export.go +++ b/cli/export.go @@ -144,6 +144,6 @@ func init() { exportCmd.PersistentFlags().StringVarP(&opts.Auth.Auth, "auth", "a", "root:root", "Master authentication details to use when connecting.") exportCmd.PersistentFlags().StringVar(&opts.DB.Type, "scheme", "https", "HTTP connection scheme to use to connect to the database.") exportCmd.PersistentFlags().StringVar(&opts.DB.Host, "host", "surreal.io", "Database server host to connect to.") - exportCmd.PersistentFlags().StringVar(&opts.DB.Port, "port", "80", "Database server port to connect to.") + exportCmd.PersistentFlags().StringVar(&opts.DB.Port, "port", "443", "Database server port to connect to.") } diff --git a/cli/import.go b/cli/import.go index f2ef5c07..3d4341bf 100644 --- a/cli/import.go +++ b/cli/import.go @@ -134,6 +134,6 @@ func init() { importCmd.PersistentFlags().StringVarP(&opts.Auth.Auth, "auth", "a", "root:root", "Master authentication details to use when connecting.") importCmd.PersistentFlags().StringVar(&opts.DB.Type, "scheme", "https", "HTTP connection scheme to use to connect to the database.") importCmd.PersistentFlags().StringVar(&opts.DB.Host, "host", "surreal.io", "Database server host to connect to.") - importCmd.PersistentFlags().StringVar(&opts.DB.Port, "port", "80", "Database server port to connect to.") + importCmd.PersistentFlags().StringVar(&opts.DB.Port, "port", "443", "Database server port to connect to.") } diff --git a/cli/sql.go b/cli/sql.go index 7dedc3b6..1bcfde60 100644 --- a/cli/sql.go +++ b/cli/sql.go @@ -152,7 +152,7 @@ func init() { sqlCmd.PersistentFlags().StringVarP(&opts.Auth.Auth, "auth", "a", "root:root", "Master authentication details to use when connecting.") sqlCmd.PersistentFlags().StringVar(&opts.DB.Type, "scheme", "https", "HTTP connection scheme to use to connect to the database.") sqlCmd.PersistentFlags().StringVar(&opts.DB.Host, "host", "surreal.io", "Database server host to connect to.") - sqlCmd.PersistentFlags().StringVar(&opts.DB.Port, "port", "80", "Database server port to connect to.") + sqlCmd.PersistentFlags().StringVar(&opts.DB.Port, "port", "443", "Database server port to connect to.") sqlCmd.PersistentFlags().StringVar(&opts.Format.Type, "format", "text", "The output format for the server response data.")