Skip to content

Commit

Permalink
minor bug fix with shorthand authentication flag
Browse files Browse the repository at this point in the history
  • Loading branch information
brennanjl committed Sep 4, 2023
1 parent fd191a4 commit a4235fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/kwil-cli/cmds/database/call.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ OR
cmd.Flags().StringP(ownerFlag, "o", "", "the database owner")
cmd.Flags().StringP(dbidFlag, "i", "", "the database id")
cmd.Flags().StringVarP(&action, actionNameFlag, "a", "", "the action name (required)")
authenticate = cmd.Flags().BoolP("authenticate", "a", false, "whether to authenticate the action call")
authenticate = cmd.Flags().Bool("authenticate", false, "whether to authenticate the action call")

cmd.MarkFlagRequired(actionNameFlag)
return cmd
Expand Down
2 changes: 1 addition & 1 deletion cmd/kwil-cli/cmds/database/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ A wallet can be specified with the --owner flag, otherwise the default wallet is
}

if len(dbs) == 0 {
fmt.Printf("No databases found for address '%x'.\n", owner)
fmt.Printf("No databases found for '%x'.\n", owner)
} else {
fmt.Printf("Databases belonging to '%x':\n", owner)
}
Expand Down

0 comments on commit a4235fb

Please sign in to comment.