Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5f24a05

Browse files
rephrased tool description
I also think a more appropriate 3rd option for `library-manager` would be `none` rather than `false`, and omitting it should default to such value
1 parent b34a379 commit 5f24a05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎cli/cli.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ import (
2525
func Root() *cobra.Command {
2626
rootCommand := &cobra.Command{
2727
Short: "Linter for Arduino projects.",
28-
Long: "arduino-check checks specification compliance and for other common problems with Arduino projects",
28+
Long: "arduino-check checks for specification compliance and other common problems with Arduino projects",
2929
DisableFlagsInUseLine: true,
3030
Use: "arduino-check [FLAG]... [PROJECT_PATH]...\n\nRun checks on PROJECT_PATH or current path if no PROJECT_PATH argument provided.",
3131
Run: command.ArduinoCheck,
3232
}
3333

34-
rootCommand.PersistentFlags().String("format", "text", "The output format, can be {text|json}.")
34+
rootCommand.PersistentFlags().String("format", "text", "The output format can be {text|json}.")
3535
rootCommand.PersistentFlags().String("library-manager", "", "Configure the checks for libraries in the Arduino Library Manager index. Can be {submit|update|false}.\nsubmit: Also run additional checks required to pass before a library is accepted for inclusion in the index.\nupdate: Also run additional checks required to pass before new releases of a library already in the index are accepted.\nfalse: Don't run any Library Manager-specific checks.")
3636
rootCommand.PersistentFlags().String("log-format", "text", "The output format for the logs, can be {text|json}.")
3737
rootCommand.PersistentFlags().String("log-level", "panic", "Messages with this level and above will be logged. Valid levels are: trace, debug, info, warn, error, fatal, panic")

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /