I want to do git log --help
but I don't want the annoying "browser" to pop up. I just want the syntax listing right within Bash. Like when i type git -?
, I get:
Unknown option: -? usage: git [--version] [--help] [-C <path>] [-c name=value]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p | --paginate | --no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
but when I type git log -?
, I get:
fatal: unrecognized argument: -?
The moment I use the --help
parameter, it spawns my web browser. I just want the syntax spec listed right within Bash. Is there any way to achieve this?
Personally, I find the inline Bash help listings easier to read and comprehend than the web based help.