Skip to content

Commit

Permalink
fix: should return when name is not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
himkt committed Mar 8, 2024
1 parent c2ead65 commit 31a36d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/tips
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def main(args: argparse.Namespace) -> None:
return
if args.name is None:
print("[name] is required if --list is not specified.")
return
if args.edit:
edit_tips(args.name)
print(f"Tips for {args.name} updated.")
Expand Down

0 comments on commit 31a36d6

Please sign in to comment.