Skip to content

Commit

Permalink
Correct message re: enabling logging
Browse files Browse the repository at this point in the history
If the `v` key is not set to `true` in the configuration file, Arduino Create Agent prints a helpful message to the
terminal.

Previously this message instructed the user to enable logging via a `-v` command line flag. However, Arduino Create
Agent doesn't have a `-v` flag. The sole mechanism for controlling logging is the `v` key of the configuration file.

The instructions in the message are hereby corrected to specify the use of the configuration file.
  • Loading branch information
per1234 authored Nov 23, 2023
1 parent e565300 commit 4607882
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 @@ -320,7 +320,7 @@ func loop() {
}

if !*verbose {
log.Println("You can enter verbose mode to see all logging by starting with the -v command line switch.")
log.Println("You can enter verbose mode to see all logging by setting the v key in the configuration file to true.")
log.SetOutput(io.Discard)
}

Expand Down

0 comments on commit 4607882

Please sign in to comment.