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
preprocessFlag=flag.Bool(FLAG_ACTION_PREPROCESS, false, "preprocess the given sketch")
145
-
dumpPrefsFlag=flag.Bool(FLAG_ACTION_DUMP_PREFS, false, "dumps build properties used when compiling")
146
-
codeCompleteAtFlag=flag.String(FLAG_ACTION_CODE_COMPLETE_AT, "", "output code completions for sketch at a specific location. Location format is \"file:line:col\"")
147
-
buildOptionsFileFlag=flag.String(FLAG_BUILD_OPTIONS_FILE, "", "Instead of specifying --"+FLAG_HARDWARE+", --"+FLAG_TOOLS+" etc every time, you can load all such options from a file")
148
-
flag.Var(&hardwareFoldersFlag, FLAG_HARDWARE, "Specify a 'hardware' folder. Can be added multiple times for specifying multiple 'hardware' folders")
149
-
flag.Var(&toolsFoldersFlag, FLAG_TOOLS, "Specify a 'tools' folder. Can be added multiple times for specifying multiple 'tools' folders")
150
-
flag.Var(&librariesBuiltInFoldersFlag, FLAG_BUILT_IN_LIBRARIES, "Specify a built-in 'libraries' folder. These are low priority libraries. Can be added multiple times for specifying multiple built-in 'libraries' folders")
151
-
flag.Var(&librariesFoldersFlag, FLAG_LIBRARIES, "Specify a 'libraries' folder. Can be added multiple times for specifying multiple 'libraries' folders")
152
-
flag.Var(&customBuildPropertiesFlag, FLAG_PREFS, "Specify a custom preference. Can be added multiple times for specifying multiple custom preferences")
buildCachePathFlag=flag.String(FLAG_BUILD_CACHE, "", "builds of 'core.a' are saved into this folder to be cached and reused")
158
-
verboseFlag=flag.Bool(FLAG_VERBOSE, false, "if 'true' prints lots of stuff")
159
-
quietFlag=flag.Bool(FLAG_QUIET, false, "if 'true' doesn't print any warnings or progress or whatever")
160
-
debugLevelFlag=flag.Int(FLAG_DEBUG_LEVEL, builder.DEFAULT_DEBUG_LEVEL, "Turns on debugging messages. The higher, the chattier")
161
-
warningsLevelFlag=flag.String(FLAG_WARNINGS, "", "Sets warnings level. Available values are '"+FLAG_WARNINGS_NONE+"', '"+FLAG_WARNINGS_DEFAULT+"', '"+FLAG_WARNINGS_MORE+"' and '"+FLAG_WARNINGS_ALL+"'")
162
-
loggerFlag=flag.String(FLAG_LOGGER, FLAG_LOGGER_HUMAN, "Sets type of logger. Available values are '"+FLAG_LOGGER_HUMAN+"', '"+FLAG_LOGGER_HUMANTAGS+"', '"+FLAG_LOGGER_MACHINE+"'")
163
-
versionFlag=flag.Bool(FLAG_VERSION, false, "prints version and exits")
164
-
daemonFlag=flag.Bool(FLAG_DAEMON, false, "daemonizes and serves its functions via rpc")
165
-
vidPidFlag=flag.String(FLAG_VID_PID, "", "specify to use vid/pid specific build properties, as defined in boards.txt")
166
-
jobsFlag=flag.Int(FLAG_JOBS, 0, "specify how many concurrent gcc processes should run at the same time. Defaults to the number of available cores on the running machine")
167
-
traceFlag=flag.Bool(FLAG_TRACE, false, "traces the whole process lifecycle")
preprocessFlag:=flag.Bool("preprocess", false, "preprocess the given sketch")
92
+
dumpPrefsFlag:=flag.Bool("dump-prefs", false, "dumps build properties used when compiling")
93
+
codeCompleteAtFlag:=flag.String("code-complete-at", "", "output code completions for sketch at a specific location. Location format is \"file:line:col\"")
94
+
buildOptionsFileFlag:=flag.String("build-options-file", "", "Instead of specifying --hardware, --tools etc every time, you can load all such options from a file")
95
+
flag.Var(&hardwareFoldersFlag, "hardware", "Specify a 'hardware' folder. Can be added multiple times for specifying multiple 'hardware' folders")
96
+
flag.Var(&toolsFoldersFlag, "tools", "Specify a 'tools' folder. Can be added multiple times for specifying multiple 'tools' folders")
97
+
flag.Var(&librariesBuiltInFoldersFlag, "built-in-libraries", "Specify a built-in 'libraries' folder. These are low priority libraries. Can be added multiple times for specifying multiple built-in 'libraries' folders")
98
+
flag.Var(&librariesFoldersFlag, "libraries", "Specify a 'libraries' folder. Can be added multiple times for specifying multiple 'libraries' folders")
99
+
flag.Var(&customBuildPropertiesFlag, "prefs", "Specify a custom preference. Can be added multiple times for specifying multiple custom preferences")
buildCachePathFlag:=flag.String("build-cache", "", "builds of 'core.a' are saved into this folder to be cached and reused")
105
+
verboseFlag:=flag.Bool("verbose", false, "if 'true' prints lots of stuff")
106
+
quietFlag:=flag.Bool("quiet", false, "if 'true' doesn't print any warnings or progress or whatever")
107
+
debugLevelFlag:=flag.Int("debug-level", builder.DEFAULT_DEBUG_LEVEL, "Turns on debugging messages. The higher, the chattier")
108
+
warningsLevelFlag:=flag.String("warnings", "", "Sets warnings level. Available values are 'none', 'default', 'more' and 'all'")
109
+
loggerFlag:=flag.String("logger", "human", "Sets type of logger. Available values are 'human', 'humantags', 'machine'")
110
+
versionFlag:=flag.Bool("version", false, "prints version and exits")
111
+
daemonFlag:=flag.Bool("daemon", false, "daemonizes and serves its functions via rpc")
112
+
vidPidFlag:=flag.String("vid-pid", "", "specify to use vid/pid specific build properties, as defined in boards.txt")
113
+
jobsFlag:=flag.Int("jobs", 0, "specify how many concurrent gcc processes should run at the same time. Defaults to the number of available cores on the running machine")
114
+
traceFlag:=flag.Bool("trace", false, "traces the whole process lifecycle")
0 commit comments