Skip to content

Commit

Permalink
Fix minor issues in docs/zograscope
Browse files Browse the repository at this point in the history
`bash` value wasn't mentioned in description of --lang.

Comment in an example .zs/attributes incorrectly said .zs/exclude.
  • Loading branch information
xaizek committed Apr 2, 2023
1 parent 8f92d4a commit ed514b4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions docs/zograscope.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Supported attributes:

* `lang`\
Default: ""\
Those accepted by `--lang` command-line option: c, cxx, make, lua
Those accepted by `--lang` command-line option: bash, c, cxx, make, lua
* `tab-size`\
Default: 4\
Value should be an integer that's greater than zero
Expand All @@ -191,7 +191,7 @@ Unknown attributes are ignored.
Example:

```
# .zs/exclude
# .zs/attributes
*.c tab-size=8
*.h tab-size=8 lang=c
Expand Down Expand Up @@ -229,7 +229,8 @@ report time spent on different activities
force colorization of output

`--lang` _name_ \
force specific language (`c`, `cxx`, `make`, `lua`) and disable auto-detection
force specific language (`bash`, `c`, `cxx`, `make`, `lua`) and
disable auto-detection

`--no-pager` \
never spawn a pager for output
Expand Down
14 changes: 7 additions & 7 deletions man/zograscope.7
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'\" t
.\" Automatically generated by Pandoc 2.19.2
.\" Automatically generated by Pandoc 3.1.1
.\"
.\" Define V font for inline verbatim, using C font in formats
.\" that render this, and otherwise B font.
Expand All @@ -15,7 +15,7 @@
. ftr VB CB
. ftr VBI CBI
.\}
.TH "zograscope" "7" "November 27, 2022" "" ""
.TH "zograscope" "7" "April 02, 2023" "" ""
.hy
.SH NAME
.PP
Expand Down Expand Up @@ -246,8 +246,8 @@ Default: \[lq]\[lq]
.PD 0
.P
.PD
Those accepted by \f[V]--lang\f[R] command-line option: c, cxx, make,
lua
Those accepted by \f[V]--lang\f[R] command-line option: bash, c, cxx,
make, lua
.IP \[bu] 2
\f[V]tab-size\f[R]
.PD 0
Expand All @@ -265,7 +265,7 @@ Example:
.IP
.nf
\f[C]
# .zs/exclude
# .zs/attributes

*.c tab-size=8
*.h tab-size=8 lang=c
Expand Down Expand Up @@ -325,8 +325,8 @@ force colorization of output
.PD 0
.P
.PD
force specific language (\f[V]c\f[R], \f[V]cxx\f[R], \f[V]make\f[R],
\f[V]lua\f[R]) and disable auto-detection
force specific language (\f[V]bash\f[R], \f[V]c\f[R], \f[V]cxx\f[R],
\f[V]make\f[R], \f[V]lua\f[R]) and disable auto-detection
.PP
\f[V]--no-pager\f[R]
.PD 0
Expand Down

0 comments on commit ed514b4

Please sign in to comment.