Skip to content

Commit 1f0a3de

Browse files
authored
Merge pull request #5 from apiheat/frn
Error message in setID
2 parents f89363b + f239261 commit 1f0a3de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ func VerifyArgumentByName(c *cli.Context, argName string) {
7575
}
7676

7777
// SetStringId value
78-
func SetStringId(c *cli.Context) string {
78+
func SetStringId(c *cli.Context, errMessage string) string {
7979
var id string
8080
if c.NArg() == 0 {
81-
log.Fatal("Please provide user e-mail")
81+
log.Fatal(errMessage)
8282
}
8383

8484
id = c.Args().Get(0)

0 commit comments

Comments
 (0)