Skip to content

Commit

Permalink
Update cli.py
Browse files Browse the repository at this point in the history
  • Loading branch information
n3rada authored Feb 27, 2024
1 parent 91ef80e commit cf07862
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions toboggan/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ def console() -> None:
parser.print_help()
return

# Check for the presence of '-i' when '-s' or '-r' is specified
if (args.session or args.read_interval) and not args.interactive:
parser.error("[Toboggan] The -s and -r arguments require the -i (interactive) argument.")


password_param = None
password_content = None

Expand Down

0 comments on commit cf07862

Please sign in to comment.