Skip to content

Commit ddd690d

Browse files
Updated help text for binaries
Signed-off-by: Rohit Nayak <[email protected]>
1 parent 2befea7 commit ddd690d

14 files changed

+87
-87
lines changed

go/flags/endtoend/mysqlctl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ Flags:
7373
--mysql-port int MySQL port. (default 3306)
7474
--mysql-server-version string MySQL server version to advertise. (default "8.4.6-Vitess")
7575
--mysql-socket string Path to the mysqld socket file.
76+
--mysqlctl-client-protocol string the protocol to use to talk to the mysqlctl server (default "grpc")
7677
--mysqlctl-mycnf-template string template file to use for generating the my.cnf file during server init
7778
--mysqlctl-socket string socket file to use for remote mysqlctl actions (empty for local actions)
78-
--mysqlctl_client_protocol string the protocol to use to talk to the mysqlctl server (default "grpc")
7979
--onclose-timeout duration wait no more than this for OnClose handlers before stopping (default 10s)
8080
--onterm-timeout duration wait no more than this for OnTermSync handlers before stopping (default 10s)
8181
--pid-file string If set, the process will write its pid to the named file, and delete it on graceful shutdown.

go/flags/endtoend/vtbackup.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Usage:
4848
vtbackup [flags]
4949

5050
Flags:
51-
--allow_first_backup Allow this job to take the first backup of an existing shard.
51+
--allow-first-backup Allow this job to take the first backup of an existing shard.
5252
--alsologtostderr log to standard error as well as files
5353
--azblob-backup-account-key-file string Path to a file containing the Azure Storage account key; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_KEY will be used as the key itself (NOT a file path).
5454
--azblob-backup-account-name string Azure Storage Account name for backups; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_NAME will be used.
@@ -131,7 +131,7 @@ Flags:
131131
--external-compressor string command with arguments to use when compressing a backup.
132132
--external-compressor-extension string extension to use when using an external compressor.
133133
--external-decompressor string command with arguments to use when decompressing a backup.
134-
--file_backup_storage_root string Root directory for the file backup storage.
134+
--file-backup-storage-root string Root directory for the file backup storage.
135135
--gcs-backup-storage-bucket string Google Cloud Storage bucket to use for backups.
136136
--gcs-backup-storage-root string Root prefix for all backup-related object names.
137137
--grpc-auth-static-client-creds string When using grpc_static_auth in the server, this file provides the credentials to use to authenticate with server.
@@ -145,12 +145,12 @@ Flags:
145145
--grpc-max-message-size int Maximum allowed RPC message size. Larger messages will be rejected by gRPC with the error 'exceeding the max size'. (default 16777216)
146146
--grpc-prometheus Enable gRPC monitoring with Prometheus.
147147
-h, --help help for vtbackup
148-
--incremental_from_pos string Position, or name of backup from which to create an incremental backup. Default: empty. If given, then this backup becomes an incremental backup from given position or given backup. If value is 'auto', this backup will be taken from the last successful backup position.
148+
--incremental-from-pos string Position, or name of backup from which to create an incremental backup. Default: empty. If given, then this backup becomes an incremental backup from given position or given backup. If value is 'auto', this backup will be taken from the last successful backup position.
149149
--init-db-name-override string (init parameter) override the name of the db used by vttablet
150150
--init-db-sql-file string path to .sql file to run after mysql_install_db
151151
--init-keyspace string (init parameter) keyspace to use for this tablet
152152
--init-shard string (init parameter) shard to use for this tablet
153-
--initial_backup Instead of restoring from backup, initialize an empty database with the provided init-db-sql-file and upload a backup of that for the shard, if the shard has no backups yet. This can be used to seed a brand new shard with an initial, empty backup. If any backups already exist for the shard, this will be considered a successful no-op. This can only be done before the shard exists in topology (i.e. before any tablets are deployed).
153+
--initial-backup Instead of restoring from backup, initialize an empty database with the provided init-db-sql-file and upload a backup of that for the shard, if the shard has no backups yet. This can be used to seed a brand new shard with an initial, empty backup. If any backups already exist for the shard, this will be considered a successful no-op. This can only be done before the shard exists in topology (i.e. before any tablets are deployed).
154154
--keep-alive-timeout duration Wait until timeout elapses after a successful backup before shutting down.
155155
--keep-logs duration keep logs for this long (using ctime) (zero to keep forever)
156156
--keep-logs-by-mtime duration keep logs for this long (using mtime) (zero to keep forever)
@@ -161,9 +161,9 @@ Flags:
161161
--log_dir string If non-empty, write log files in this directory
162162
--logtostderr log to standard error instead of files
163163
--manifest-external-decompressor string command with arguments to store in the backup manifest when compressing a backup with an external compression engine.
164-
--min_backup_interval duration Only take a new backup if it's been at least this long since the most recent backup.
165-
--min_retention_count int Always keep at least this many of the most recent backups in this backup storage location, even if some are older than the min_retention_time. This must be at least 1 since a backup must always exist to allow new backups to be made (default 1)
166-
--min_retention_time duration Keep each old backup for at least this long before removing it. Set to 0 to disable pruning of old backups.
164+
--min-backup-interval duration Only take a new backup if it's been at least this long since the most recent backup.
165+
--min-retention-count int Always keep at least this many of the most recent backups in this backup storage location, even if some are older than the min_retention_time. This must be at least 1 since a backup must always exist to allow new backups to be made (default 1)
166+
--min-retention-time duration Keep each old backup for at least this long before removing it. Set to 0 to disable pruning of old backups.
167167
--mycnf-bin-log-path string mysql binlog path
168168
--mycnf-data-dir string data directory for mysql
169169
--mycnf-error-log-path string mysql error log path
@@ -192,14 +192,14 @@ Flags:
192192
--mysql-shell-speedup-restore speed up restore by disabling redo logging and double write buffer during the restore process
193193
--mysql-shutdown-timeout duration how long to wait for mysqld shutdown (default 5m0s)
194194
--mysql-socket string Path to the mysqld socket file
195-
--mysql_timeout duration how long to wait for mysqld startup (default 5m0s)
195+
--mysql-timeout duration how long to wait for mysqld startup (default 5m0s)
196196
--opentsdb-uri string URI of opentsdb /api/put method
197197
--port int port for the server
198198
--pprof strings enable profiling
199199
--pprof-http enable pprof http endpoints
200200
--purge-logs-interval duration how often try to remove old logs (default 1h0m0s)
201201
--remote-operation-timeout duration time to wait for a remote operation (default 15s)
202-
--restart_before_backup Perform a mysqld clean/full restart after applying binlogs, but before taking the backup. Only makes sense to work around xtrabackup bugs.
202+
--restart-before-backup Perform a mysqld clean/full restart after applying binlogs, but before taking the backup. Only makes sense to work around xtrabackup bugs.
203203
--s3-backup-aws-endpoint string endpoint of the S3 backend (region must be provided).
204204
--s3-backup-aws-min-partsize int Minimum part size to use, defaults to 5MiB but can be increased due to the dataset size. (default 5242880)
205205
--s3-backup-aws-region string AWS region to use. (default "us-east-1")

go/flags/endtoend/vtbench.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Flags:
8787
--tablet-grpc-key string the key to use to connect
8888
--tablet-grpc-server-name string the server name to use to validate server certificate
8989
--threads int Number of parallel threads to run (default 2)
90-
--unix_socket string VTGate unix socket
90+
--unix-socket string VTGate unix socket
9191
--user string Username to connect using mysql (password comes from the db-credentials-file)
9292
--v Level log level for V logs
9393
-v, --version print binary version

go/flags/endtoend/vtclient.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ vtclient --server vtgate:15991 --target '@primary' --bind_variables '[ 12345, 1,
1313

1414
Flags:
1515
--alsologtostderr log to standard error as well as files
16-
--bind_variables float bind variables as a json list (default null)
16+
--bind-variables float bind variables as a json list (default null)
1717
--config-file string Full path of the config file (with extension) to use. If set, --config-path, --config-type, and --config-name are ignored.
1818
--config-file-not-found-handling ConfigFileNotFoundHandling Behavior when a config file is not found. (Options: error, exit, ignore, warn) (default warn)
1919
--config-name string Name of the config file (without extension) to search for. (default "vtconfig")
@@ -43,8 +43,8 @@ Flags:
4343
--log_backtrace_at traceLocations when logging hits line file:N, emit a stack trace
4444
--log_dir string If non-empty, write log files in this directory
4545
--logtostderr log to standard error instead of files
46-
--max_sequence_id int max sequence ID.
47-
--min_sequence_id int min sequence ID to generate. When max_sequence_id > min_sequence_id, for each query, a number is generated in [min_sequence_id, max_sequence_id) and attached to the end of the bind variables.
46+
--max-sequence-id int max sequence ID.
47+
--min-sequence-id int min sequence ID to generate. When max-sequence-id > min-sequence-id, for each query, a number is generated in [min-sequence-id, max-sequence-id) and attached to the end of the bind variables.
4848
--mysql-server-version string MySQL server version to advertise. (default "8.4.6-Vitess")
4949
--parallel int DMLs only: Number of threads executing the same query in parallel. Useful for simple load testing. (default 1)
5050
--pprof strings enable profiling
@@ -61,7 +61,7 @@ Flags:
6161
--tracing-enable-logging whether to enable logging in the tracing service
6262
--tracing-sampling-rate float sampling rate for the probabilistic jaeger sampler (default 0.1)
6363
--tracing-sampling-type string sampling strategy to use for jaeger. possible values are 'const', 'probabilistic', 'rateLimiting', or 'remote' (default "const")
64-
--use_random_sequence use random sequence for generating [min_sequence_id, max_sequence_id)
64+
--use-random-sequence use random sequence for generating [min-sequence-id, max-sequence-id)
6565
--v Level log level for V logs
6666
-v, --version print binary version
6767
--vmodule vModuleFlag comma-separated list of pattern=N settings for file-filtered logging
@@ -70,4 +70,4 @@ Flags:
7070
--vtgate-grpc-crl string the server crl to use to validate server certificates when connecting
7171
--vtgate-grpc-key string the key to use to connect
7272
--vtgate-grpc-server-name string the server name to use to validate server certificate
73-
--vtgate_protocol string how to talk to vtgate (default "grpc")
73+
--vtgate-protocol string how to talk to vtgate (default "grpc")

0 commit comments

Comments
 (0)