mirror of
https://github.com/sharkdp/bat.git
synced 2025-10-20 18:53:53 +01:00
chore: fix some minor issues in the comments (#3439)
Signed-off-by: suranmiao <solsui@outlook.com>
This commit is contained in:
@@ -258,7 +258,7 @@ abbr -a --position anywhere -- -h '-h | bat -plhelp'
|
||||
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`). 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.
|
||||
as a command argument you can prepend `\` to the argument (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).
|
||||
|
||||
|
@@ -346,7 +346,7 @@ impl EscapeSequenceOffsets {
|
||||
}
|
||||
}
|
||||
|
||||
/// An iterator over the offests of ANSI/VT escape sequences within a string.
|
||||
/// An iterator over the offsets of ANSI/VT escape sequences within a string.
|
||||
///
|
||||
/// ## Example
|
||||
///
|
||||
|
Reference in New Issue
Block a user