summaryrefslogtreecommitdiff
path: root/srv/cmd/userid-calc-cli
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-05 20:17:59 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-05 20:30:36 -0600
commit5c247b6f2907e8c4da5a66fa2192fcba95e100f2 (patch)
treef5462cd7b31181d7b0217cb899c49e0ae5790e53 /srv/cmd/userid-calc-cli
parent0277c0276715d326a4bcf2be37d2aec5982078f7 (diff)
Refactor cfg to use envvars as well
Diffstat (limited to 'srv/cmd/userid-calc-cli')
-rw-r--r--srv/cmd/userid-calc-cli/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/srv/cmd/userid-calc-cli/main.go b/srv/cmd/userid-calc-cli/main.go
index c86ae5d..90c44e7 100644
--- a/srv/cmd/userid-calc-cli/main.go
+++ b/srv/cmd/userid-calc-cli/main.go
@@ -13,6 +13,7 @@ func main() {
secret := flag.String("secret", "", "Secret to use when calculating UserIDs")
name := flag.String("name", "", "")
password := flag.String("password", "", "")
+
flag.Parse()
calc := chat.NewUserIDCalculator([]byte(*secret))