Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Minor flag description cleanup

天舟da85d21fca78
diff --git a/bin/server/cmd/root.go b/bin/server/cmd/root.go
index f6d21a26f7..3cd2d9daf9 100644
--- a/bin/server/cmd/root.go
+++ b/bin/server/cmd/root.go
@@ -106,12 +106,12 @@ func Execute() error {
}
func init() {
- rootCmd.PersistentFlags().StringVar(&host, "host", "http://localhost", "host where Bytebase is running. e.g. https://bytebase.example.com")
+ rootCmd.PersistentFlags().StringVar(&host, "host", "http://localhost", "host where Bytebase is running e.g. https://bytebase.example.com")
rootCmd.PersistentFlags().IntVar(&port, "port", 8080, "port where Bytebase is running e.g. 8080")
- rootCmd.PersistentFlags().StringVar(&dataDir, "data", ".", "directory where Bytebase stores data.")
- rootCmd.PersistentFlags().BoolVar(&readonly, "readonly", false, "whether to run in read-only.")
- rootCmd.PersistentFlags().BoolVar(&demo, "demo", false, "whether to run in demo mode. Demo mode uses demo data.")
- rootCmd.PersistentFlags().BoolVar(&debug, "debug", false, "whether to enable debug level logging.")
+ rootCmd.PersistentFlags().StringVar(&dataDir, "data", ".", "directory where Bytebase stores data")
+ rootCmd.PersistentFlags().BoolVar(&readonly, "readonly", false, "whether to run in read-only mode")
+ rootCmd.PersistentFlags().BoolVar(&demo, "demo", false, "whether to run using demo data")
+ rootCmd.PersistentFlags().BoolVar(&debug, "debug", false, "whether to enable debug level logging")
}
// -----------------------------------Command Line Config END--------------------------------------