Skip to content
This repository was archived by the owner on May 8, 2022. It is now read-only.

Commit d1d96d3

Browse files
committed
Update docs and enable --debug flag
1 parent cccb81f commit d1d96d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func init() {
106106

107107
func initFlags() {
108108
rootCmd.PersistentFlags().String(LoadConfigKey, "", "The location of the Operator's config file")
109-
//rootCmd.PersistentFlags().Bool(DebugKey, false, "Enable debug mode for development purposes. If set, --log-level defaults to 1")
109+
rootCmd.PersistentFlags().Bool(DebugKey, false, "Enable debug mode for development purposes. If set, logging output will be pretty-printed for the command line and --log-level will default to 1")
110110
rootCmd.PersistentFlags().Bool(WebhookDisableKey, false, "Disable webhooks servers")
111111
rootCmd.PersistentFlags().String(MetricsBindAddressKey, ":8080", "The address the metric endpoint binds to")
112112
rootCmd.PersistentFlags().String(HealthProbeBindAddressKey, ":8081", "The address the probe endpoint binds to")

docs/sysadmin_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ The Operator will remove the annotation when the operation has completed.
199199
## CLI arguments
200200
| | Description |
201201
|---------------------------------------------- |------------------------------------------------------------------------------------------------------------------------------------------------------------- |
202-
| `--debug` | Enables debug mode for development purposes. If set, `--log-level` defaults to `1` |
202+
| `--debug` | Enables debug mode for development purposes. If set, logging output will be pretty-printed for the command line and `--log-level` will default to `1` |
203203
| `--disable-webhooks` | Disables webhooks servers (default false) |
204204
| `--health.healthProbeBindAddress <string>` | The address the probe endpoint binds to (default ":8081") |
205205
| `-h`, `--help` | Help for kubedbaas |

0 commit comments

Comments
 (0)