You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/cli/cli.go
+3-3
Original file line number
Diff line number
Diff line change
@@ -27,15 +27,15 @@ func Root() *cobra.Command {
27
27
Short: "Linter for Arduino projects.",
28
28
Long: "arduino-lint checks for specification compliance and other common problems with Arduino projects",
29
29
DisableFlagsInUseLine: true,
30
-
Use: "arduino-lint [FLAG]... [PROJECT_PATH]...\n\nRun rules on PROJECT_PATH or current path if no PROJECT_PATH argument provided.",
30
+
Use: "arduino-lint [FLAG]... [PROJECT_PATH]...\n\nLint project in PROJECT_PATH or current path if no PROJECT_PATH argument provided.",
31
31
Run: command.ArduinoLint,
32
32
}
33
33
34
34
rootCommand.PersistentFlags().String("compliance", "specification", "Configure how strict the tool is. Can be {strict|specification|permissive}")
35
35
rootCommand.PersistentFlags().String("format", "text", "The output format can be {text|json}.")
36
36
rootCommand.PersistentFlags().String("library-manager", "", "Configure the rules for libraries in the Arduino Library Manager index. Can be {submit|update|false}.\nsubmit: Also run additional rules required to pass before a library is accepted for inclusion in the index.\nupdate: Also run additional rules required to pass before new releases of a library already in the index are accepted.\nfalse: Don't run any Library Manager-specific rules.")
37
-
rootCommand.PersistentFlags().String("project-type", "all", "Only check projects of the specified type and their subprojects. Can be {sketch|library|platform|all}.")
38
-
rootCommand.PersistentFlags().Bool("recursive", false, "Search path recursively for Arduino projects to check. Can be {true|false}.")
37
+
rootCommand.PersistentFlags().String("project-type", "all", "Only lint projects of the specified type and their subprojects. Can be {sketch|library|platform|all}.")
38
+
rootCommand.PersistentFlags().Bool("recursive", false, "Search path recursively for Arduino projects to lint. Can be {true|false}.")
39
39
rootCommand.PersistentFlags().String("report-file", "", "Save a report on the rules to this file.")
40
40
rootCommand.PersistentFlags().BoolP("verbose", "v", false, "Show more information while running rules.")
41
41
rootCommand.PersistentFlags().Bool("version", false, "Print version and timestamp of the build.")
0 commit comments