Skip to content

Commit

Permalink
correct typos
Browse files Browse the repository at this point in the history
  • Loading branch information
gi8lino committed May 12, 2021
1 parent cb5bc12 commit 401b6a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ package main

import (
"fmt"
"log"

flag "github.com/spf13/pflag"
"github.com/xlzd/gotp"
"log"
)

func main() {
secretKey := flag.StringP("secretkey", "s","", "supply a valid TOTP secret key to generate a token from")
secretKey := flag.StringP("secretkey", "s", "", "supply a valid TOTP secret key to generate a token from")
flag.Parse()
if *secretKey == "" {
log.Fatal("secretkey cannot be empty")
Expand Down

0 comments on commit 401b6a5

Please sign in to comment.