mirror of
https://github.com/sharkdp/bat.git
synced 2025-06-20 09:37:58 +02:00
Merge f4763e72e9a45c92b8f3a5f17405607f4469264c into f761ff68240d6cae88ee03266f89590bfae3939c
This commit is contained in:
commit
25cd473681
@ -249,7 +249,8 @@ abbr -a --position anywhere -- -h '-h | bat -plhelp'
|
|||||||
|
|
||||||
This way, you can keep on using `cp --help`, but get colorized help pages.
|
This way, you can keep on using `cp --help`, but get colorized help pages.
|
||||||
|
|
||||||
Be aware that in some cases, `-h` may not be a shorthand of `--help` (for example with `ls`).
|
Be aware that in some cases, `-h` may not be a shorthand of `--help` (for example with `ls`). In cases where you need to use `-h`
|
||||||
|
as a command argument you can prepend `\` to the arguement (eg. `ls \-h`) to escape the aliasing defined above.
|
||||||
|
|
||||||
Please report any issues with the help syntax in [this repository](https://github.com/victor-gp/cmd-help-sublime-syntax).
|
Please report any issues with the help syntax in [this repository](https://github.com/victor-gp/cmd-help-sublime-syntax).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user