Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Cannot compile & run: "kf" shorthand is more than one ASCII character #1295

Closed
Restioson opened this issue Jun 5, 2019 · 1 comment · Fixed by #1293
Closed

Cannot compile & run: "kf" shorthand is more than one ASCII character #1295

Restioson opened this issue Jun 5, 2019 · 1 comment · Fixed by #1293

Comments

@Restioson
Copy link

Hi. Upon installing (through go get -u as indicated in the readme) and running, I get this error:

panic: "kf" shorthand is more than one ASCII character

goroutine 1 [running]:
github.com/spf13/pflag.(*FlagSet).AddFlag(0xc4200e0400, 0xc4201c1900)
	/home/restioson/go/src/github.com/spf13/pflag/flag.go:852 +0x7bc
github.com/spf13/pflag.(*FlagSet).VarPF(0xc4200e0400, 0xb69fa0, 0xec8be0, 0xae94fd, 0xb, 0xae34c8, 0x2, 0xaf25bc, 0x19, 0xc4201c1860)
	/home/restioson/go/src/github.com/spf13/pflag/flag.go:819 +0x120
github.com/spf13/pflag.(*FlagSet).VarP(0xc4200e0400, 0xb69fa0, 0xec8be0, 0xae94fd, 0xb, 0xae34c8, 0x2, 0xaf25bc, 0x19)
	/home/restioson/go/src/github.com/spf13/pflag/flag.go:825 +0x8e
github.com/spf13/pflag.(*FlagSet).StringVarP(0xc4200e0400, 0xec8be0, 0xae94fd, 0xb, 0xae34c8, 0x2, 0xae5d3d, 0x7, 0xaf25bc, 0x19)
	/home/restioson/go/src/github.com/spf13/pflag/string.go:42 +0xab
github.com/google/keytransparency/cmd/keytransparency-client/cmd.init.1()
	/home/restioson/go/src/github.com/google/keytransparency/cmd/keytransparency-client/cmd/hammer.go:58 +0x3d5
@Restioson Restioson changed the title Cannot compile & run Cannot compile & run: "kf" shorthand is more than one ASCII character Jun 5, 2019
@mhutchinson
Copy link
Contributor

This looks like it will be resolved by PR #1293.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants