Skip to content

Commit

Permalink
cli: Show help message even without provided arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Šoltis <[email protected]>
  • Loading branch information
slimreaper35 committed Oct 8, 2024
1 parent b289c91 commit 5f9f972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cachi2/interface/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from cachi2.core.rooted_path import RootedPath
from cachi2.interface.logging import LogLevel, setup_logging

app = typer.Typer()
app = typer.Typer(no_args_is_help=True)
log = logging.getLogger(__name__)

DEFAULT_SOURCE = "."
Expand Down

0 comments on commit 5f9f972

Please sign in to comment.