xaizek / zograscope (License: AGPLv3 only) (since 2018-12-07)
Mainly a syntax-aware diff that also provides a number of additional tools.
Commit ed514b4a07556f8c783abeeec1a85ab9fc5b3747

Fix minor issues in docs/zograscope
`bash` value wasn't mentioned in description of --lang.

Comment in an example .zs/attributes incorrectly said .zs/exclude.
Author: xaizek
Author date (UTC): 2023-04-02 16:29
Committer name: xaizek
Committer date (UTC): 2023-04-02 16:29
Parent(s): 8f92d4af237e4f4feaeb483a3685f09b6b76a862
Signing key: 99DC5E4DB05F6BE2
Tree: 20c22f5595cfbcc85c9a5b9340949a9704e97c36
File Lines added Lines deleted
docs/zograscope.md 4 3
man/zograscope.7 7 7
File docs/zograscope.md changed (mode: 100644) (index 36fc312..213ea43)
... ... Supported attributes:
181 181
182 182 * `lang`\ * `lang`\
183 183 Default: ""\ Default: ""\
184 Those accepted by `--lang` command-line option: c, cxx, make, lua
184 Those accepted by `--lang` command-line option: bash, c, cxx, make, lua
185 185 * `tab-size`\ * `tab-size`\
186 186 Default: 4\ Default: 4\
187 187 Value should be an integer that's greater than zero Value should be an integer that's greater than zero
 
... ... Unknown attributes are ignored.
191 191 Example: Example:
192 192
193 193 ``` ```
194 # .zs/exclude
194 # .zs/attributes
195 195
196 196 *.c tab-size=8 *.c tab-size=8
197 197 *.h tab-size=8 lang=c *.h tab-size=8 lang=c
 
... ... report time spent on different activities
229 229 force colorization of output force colorization of output
230 230
231 231 `--lang` _name_ \ `--lang` _name_ \
232 force specific language (`c`, `cxx`, `make`, `lua`) and disable auto-detection
232 force specific language (`bash`, `c`, `cxx`, `make`, `lua`) and
233 disable auto-detection
233 234
234 235 `--no-pager` \ `--no-pager` \
235 236 never spawn a pager for output never spawn a pager for output
File man/zograscope.7 changed (mode: 100644) (index 5f65e12..a5283de)
1 1 '\" t '\" t
2 .\" Automatically generated by Pandoc 2.19.2
2 .\" Automatically generated by Pandoc 3.1.1
3 3 .\" .\"
4 4 .\" Define V font for inline verbatim, using C font in formats .\" Define V font for inline verbatim, using C font in formats
5 5 .\" that render this, and otherwise B font. .\" that render this, and otherwise B font.
 
15 15 . ftr VB CB . ftr VB CB
16 16 . ftr VBI CBI . ftr VBI CBI
17 17 .\} .\}
18 .TH "zograscope" "7" "November 27, 2022" "" ""
18 .TH "zograscope" "7" "April 02, 2023" "" ""
19 19 .hy .hy
20 20 .SH NAME .SH NAME
21 21 .PP .PP
 
... ... Default: \[lq]\[lq]
246 246 .PD 0 .PD 0
247 247 .P .P
248 248 .PD .PD
249 Those accepted by \f[V]--lang\f[R] command-line option: c, cxx, make,
250 lua
249 Those accepted by \f[V]--lang\f[R] command-line option: bash, c, cxx,
250 make, lua
251 251 .IP \[bu] 2 .IP \[bu] 2
252 252 \f[V]tab-size\f[R] \f[V]tab-size\f[R]
253 253 .PD 0 .PD 0
 
... ... Example:
265 265 .IP .IP
266 266 .nf .nf
267 267 \f[C] \f[C]
268 # .zs/exclude
268 # .zs/attributes
269 269
270 270 *.c tab-size=8 *.c tab-size=8
271 271 *.h tab-size=8 lang=c *.h tab-size=8 lang=c
 
... ... force colorization of output
325 325 .PD 0 .PD 0
326 326 .P .P
327 327 .PD .PD
328 force specific language (\f[V]c\f[R], \f[V]cxx\f[R], \f[V]make\f[R],
329 \f[V]lua\f[R]) and disable auto-detection
328 force specific language (\f[V]bash\f[R], \f[V]c\f[R], \f[V]cxx\f[R],
329 \f[V]make\f[R], \f[V]lua\f[R]) and disable auto-detection
330 330 .PP .PP
331 331 \f[V]--no-pager\f[R] \f[V]--no-pager\f[R]
332 332 .PD 0 .PD 0
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/zograscope

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/zograscope

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master