mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-24 16:53:55 +01:00
Fix typos
This commit is contained in:
parent
ed4997c77c
commit
f93d650708
@ -550,7 +550,7 @@ bat --generate-config-file
|
|||||||
# 在终端中以斜体输出文本(不是所有终端都支持)
|
# 在终端中以斜体输出文本(不是所有终端都支持)
|
||||||
--italic-text=always
|
--italic-text=always
|
||||||
|
|
||||||
# 使用 C++ 语法来给 Ardiuno 的 .ino 文件提供高亮
|
# 使用 C++ 语法来给 Arduino 的 .ino 文件提供高亮
|
||||||
--map-syntax "*.ino:C++"
|
--map-syntax "*.ino:C++"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ gpl_occurances=$(git grep --recurse-submodules "${gpl_term}" -- "${gpl_excludes[
|
|||||||
if [ -z "${gpl_occurances}" ]; then
|
if [ -z "${gpl_occurances}" ]; then
|
||||||
echo "PASS: No files under GPL were found"
|
echo "PASS: No files under GPL were found"
|
||||||
else
|
else
|
||||||
echo "FAIL: GPL:ed code is not compatible with bat, but occurances of '${gpl_term}' were found:"
|
echo "FAIL: GPL:ed code is not compatible with bat, but occurrences of '${gpl_term}' were found:"
|
||||||
echo "${gpl_occurances}"
|
echo "${gpl_occurances}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user