Skip to content

Commit 4f447cb

Browse files
committed
Remove -build flag from tkey-verify
End user, even advanced end users, might not need to know exactly what assets are built in to tkey-verify. If an advanced user really want to know it should be possibly to find with --version and then checking in the code.
1 parent bd1d2ee commit 4f447cb

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

cmd/tkey-verify/main.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type Device struct {
3131
func main() {
3232
var dev Device
3333
var baseURL, baseDir string
34-
var sigsum, verbose, showURLOnly, versionOnly, build, helpOnly bool
34+
var sigsum, verbose, showURLOnly, versionOnly, helpOnly bool
3535

3636
pflag.CommandLine.SetOutput(os.Stderr)
3737
pflag.CommandLine.SortFlags = false
@@ -50,7 +50,6 @@ func main() {
5050
pflag.BoolVar(&sigsum, "sigsum", false,
5151
"Demand a Sigsum proof in the verification file (command: verify).")
5252
pflag.BoolVar(&versionOnly, "version", false, "Output version information.")
53-
pflag.BoolVar(&build, "build", false, "Output build data about included device apps and firmwares")
5453
pflag.BoolVar(&helpOnly, "help", false, "Output this help.")
5554
pflag.Usage = usage
5655
pflag.Parse()
@@ -65,11 +64,6 @@ func main() {
6564
os.Exit(0)
6665
}
6766

68-
// if build {
69-
// builtWith()
70-
// os.Exit(0)
71-
// }
72-
7367
if baseDir != "" && (showURLOnly || pflag.CommandLine.Lookup("base-url").Changed) {
7468
le.Printf("Cannot combine --base-dir and --show-url/--base-url\n")
7569
os.Exit(2)

0 commit comments

Comments
 (0)