temporalio / cli

Command-line interface for running Temporal Server and interacting with Workflows, Activities, Namespaces, and other parts of Temporal
https://docs.temporal.io/cli
MIT License
247 stars 34 forks source link

[Bug] Correct typos in updated temporal CLI version 0.12.0-rc.2 #513

Closed fairlydurable closed 5 months ago

fairlydurable commented 5 months ago

Correct spelling and grammar issues in help messages for the updated temporal CLI effort (0.12.0-rc.2). PR submitted.

--- a/temporalcli/commands.gen.go
+++ b/temporalcli/commands.gen.go
-   s.Command.PersistentFlags().BoolVar(&s.NoJsonShorthandPayloads, "no-json-shorthand-payloads", false, "Always all payloads as raw payloads even if they are JSON.")
+   s.Command.PersistentFlags().BoolVar(&s.NoJsonShorthandPayloads, "no-json-shorthand-payloads", false, "Always show all payloads as raw payloads even if they are JSON.")
-   s.Command.Flags().BoolVar(&s.LogConfig, "log-config", false, "Log the server config being used in stderr.")
+   s.Command.Flags().BoolVar(&s.LogConfig, "log-config", false, "Log the server config being used to stderr.")
-   s.Command.Long = "This command can tell you whether or not Build IDs may be used for for new, existing, or closed workflows. Both the '--build-id' and '--task-queue' flags may be specified multiple times. If you do not provide a task queue, reachability for the provided Build IDs will be checked against all task queues."
+   s.Command.Long = "This command can tell you whether or not Build IDs may be used for new, existing, or closed workflows. Both the '--build-id' and '--task-queue' flags may be specified multiple times. If you do not provide a task queue, reachability for the provided Build IDs will be checked against all task queues."
-   s.Command.Long = "New tasks compatible with the the set will be dispatched to the default id."
+   s.Command.Long = "New tasks compatible with the set will be dispatched to the default id."
--- a/temporalcli/commandsmd/commands.md
+++ b/temporalcli/commandsmd/commands.md
-* `--no-json-shorthand-payloads` (bool) - Always all payloads as raw payloads even if they are JSON.
+* `--no-json-shorthand-payloads` (bool) - Always show all payloads as raw payloads even if they are JSON.
-* `--log-config` (bool) - Log the server config being used in stderr.
+* `--log-config` (bool) - Log the server config being used to stderr.
-This command can tell you whether or not Build IDs may be used for for new, existing, or closed workflows. Both the '--build-id' and '--task-queue' flags may be specified multiple times. If you do not provide a task queue, reachability for the provided Build IDs will be checked against all task queues.
+This command can tell you whether or not Build IDs may be used for new, existing, or closed workflows. Both the '--build-id' and '--task-queue' flags may be specified multiple times. If you do not provide a task queue, reachability for the provided Build IDs will be checked against all task queues.
-New tasks compatible with the the set will be dispatched to the default id.
+New tasks compatible with the set will be dispatched to the default id.