Skip to content

Commit 4d49227

Browse files
committed
Remove useless compile flag
1 parent 99a6800 commit 4d49227

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

main.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ import (
5757

5858
const VERSION = "1.6.1"
5959

60-
const FLAG_ACTION_COMPILE = "compile"
6160
const FLAG_ACTION_PREPROCESS = "preprocess"
6261
const FLAG_ACTION_DUMP_PREFS = "dump-prefs"
6362
const FLAG_ACTION_CODE_COMPLETE_AT = "code-complete-at"
@@ -115,7 +114,6 @@ func (h *propertiesFlag) Set(value string) error {
115114
return nil
116115
}
117116

118-
var compileFlag *bool
119117
var preprocessFlag *bool
120118
var dumpPrefsFlag *bool
121119
var codeCompleteAtFlag *string
@@ -143,7 +141,6 @@ var traceFlag *bool
143141
var experimentalFeatures *bool
144142

145143
func init() {
146-
compileFlag = flag.Bool(FLAG_ACTION_COMPILE, false, "compiles the given sketch")
147144
preprocessFlag = flag.Bool(FLAG_ACTION_PREPROCESS, false, "preprocess the given sketch")
148145
dumpPrefsFlag = flag.Bool(FLAG_ACTION_DUMP_PREFS, false, "dumps build properties used when compiling")
149146
codeCompleteAtFlag = flag.String(FLAG_ACTION_CODE_COMPLETE_AT, "", "output code completions for sketch at a specific location. Location format is \"file:line:col\"")

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy