Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions bin/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,12 @@ def main() -> int:
args = parser.parse_args()
suppress_standard_json_output = args.markdown_output is not None

if args.verbose_types and not (args.list_supported_types or args.list_active_modules):
print(
"[!] --verbose-types has no effect without --list-supported-types or --list-active-modules",
file=sys.stderr,
)

if args.cache_ttl_seconds < 0:
print("[!] --cache-ttl-seconds must be >= 0", file=sys.stderr)
return 1
Expand Down