Skip to content

Commit

Permalink
Fix environment variable in long description
Browse files Browse the repository at this point in the history
This commit corrects a documentation mistake in the command help which had
all lower case letters for an environment variable prefix. This was probably
done by some bad find and replace.

Signed-off-by: David Bond <[email protected]>
  • Loading branch information
davidsbond committed Nov 1, 2024
1 parent 9bfc168 commit 001523c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func main() {
"for semantics on individual cloud providers.\n\n" +
"All command-line flags can also be set via environment variables, to use environment variables simply set\n" +
"them using the following format:\n\n" +
"export autopgo_<flag-name>\n\n" +
"export AUTOPGO_<flag-name>\n\n" +
"Replacing <flag-name> with the name of the command-line flag replacing dashes for underscores and using all\n" +
"capital letters. For example, autopgo_LOG_LEVEL=error will map to the --log-level command-line flag.",
CompletionOptions: cobra.CompletionOptions{
Expand Down

0 comments on commit 001523c

Please sign in to comment.