Closed Delta456 closed 5 months ago
Best to leave this in. Not executing command in bench dir is frequent confusion.
Also help inside bench dir and outside bench dir is different.
Outside of bench, only "init" is the command that's actually used like 99% of the time.
Ref https://github.com/frappe/bench/blob/develop/bench/cli.py#L117
Description of the issue
bench --h
gives a warning when running in a non-bench directory when it shouldn't because--help
is a generic flag and isn't related to the current directory just like--version
Context information (for bug reports)
Output of
bench version
Steps to reproduce the issue
bench --help
Observed result
Expected result
No warning for
--help
just like there isn't for--version
Additional information
Pop OS, Installed from pip3