diff options
author | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-07-22 18:25:56 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-07-22 18:25:56 +0200 |
commit | f04e26523189ac3fc54381376966f98d2f52440b (patch) | |
tree | 52f664a52759322947420f7313573e92002fa6f9 /cmd/sigsum-debug/main.go | |
parent | 722e48feb2aa85d8cb75069a06024e506367e34f (diff) |
add spam command to sigsum-debugsigsum-spam
Diffstat (limited to 'cmd/sigsum-debug/main.go')
-rw-r--r-- | cmd/sigsum-debug/main.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cmd/sigsum-debug/main.go b/cmd/sigsum-debug/main.go index 2c10be2..af2093c 100644 --- a/cmd/sigsum-debug/main.go +++ b/cmd/sigsum-debug/main.go @@ -19,12 +19,12 @@ import ( "git.sigsum.org/sigsum-go/cmd/sigsum-debug/head" "git.sigsum.org/sigsum-go/cmd/sigsum-debug/key" "git.sigsum.org/sigsum-go/cmd/sigsum-debug/leaf" + "git.sigsum.org/sigsum-go/cmd/sigsum-debug/spam" "git.sigsum.org/sigsum-go/internal/options" ) const usage = ` -sigsum-debug is a tool that helps debug sigsum logs on the command-line. -It is meant to be used in conjuction with other utilities such as curl. +sigsum-debug is a tool that helps debug sigsum logs on the command-line Usage: @@ -32,6 +32,7 @@ Usage: sigsum-debug key Private and public key utilities sigsum-debug leaf Hash, sign, and verify tree leaves sigsum-debug head Sign and verify tree heads + sigsum-debug spam Send many requests to a sigsum log ` @@ -49,6 +50,8 @@ func main() { err = leaf.Main(opt.Args()) case "head": err = head.Main(opt.Args()) + case "spam": + err = spam.Main(opt.Args()) default: err = fmt.Errorf(": invalid command %q, try \"help\"", opt.Name()) } |