Skip to content
Merged
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
5 changes: 5 additions & 0 deletions sqlmesh/cli/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import annotations

import os
import sys
import typing as t

import click
Expand Down Expand Up @@ -44,6 +45,10 @@ def cli(
ctx.obj = path
return

# Delegates the execution of the --help option to the corresponding subcommand
if "--help" in sys.argv:
return

context = Context(
path=path,
config=config,
Expand Down