Skip to content

Commit

Permalink
👕 fix #5 - help2man -n
Browse files Browse the repository at this point in the history
hopefully without introducing new linter errors since the whatis entry
is still quite useless.

Preferably, help2man could get this from --help
  • Loading branch information
unhammer committed Feb 5, 2018
1 parent 23bbe27 commit e136455
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 9 deletions.
7 changes: 6 additions & 1 deletion scripts/kbu-devel-build
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ build () {
make -j3
make -j3 install
for prog in "$HOME"/PREFIX/gtd-gc/bin/divvun*; do
( cd "$HOME"/PREFIX/gtd-gc/bin/ && PATH=".:$PATH" help2man -N -S divvun-gramcheck "${prog##*/}" ) > src/"${prog##*/}".1
PATH="$HOME/PREFIX/gtd-gc/bin/:$PATH" \
help2man -N \
-S 'divvun-gramcheck' \
-n 'This application is part of divvun-gramcheck' \
"${prog##*/}" \
> src/"${prog##*/}".1
done
make -j3 check
git ls-files src | grep pp$ | grep -ve mapbox -e cxxopts | xargs -I{} clang-tidy --checks='-*,modernize-*,-modernize-make-unique,-modernize-pass-by-value,-modernize-raw-string-literal' {} -- -Isrc -std=c++11
Expand Down
2 changes: 1 addition & 1 deletion src/divvun-blanktag.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
.TH DIVVUN-BLANKTAG "1" "February 2018" "divvun-gramcheck" "User Commands"
.SH NAME
divvun-blanktag \- manual page for divvun-blanktag - Divvun gramcheck version 0.2.0
divvun-blanktag \- This application is part of divvun-gramcheck
.SH DESCRIPTION
.SS "Usage:"
.IP
Expand Down
2 changes: 1 addition & 1 deletion src/divvun-cgspell.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
.TH DIVVUN-CGSPELL "1" "February 2018" "divvun-gramcheck" "User Commands"
.SH NAME
divvun-cgspell \- manual page for divvun-cgspell - Divvun gramcheck version 0.2.0
divvun-cgspell \- This application is part of divvun-gramcheck
.SH DESCRIPTION
.SS "Usage:"
.IP
Expand Down
2 changes: 1 addition & 1 deletion src/divvun-checker.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
.TH DIVVUN-CHECKER "1" "February 2018" "divvun-gramcheck" "User Commands"
.SH NAME
divvun-checker \- manual page for divvun-checker - Divvun gramcheck version 0.2.0
divvun-checker \- This application is part of divvun-gramcheck
.SH DESCRIPTION
.SS "Usage:"
.IP
Expand Down
2 changes: 1 addition & 1 deletion src/divvun-gen-sh.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
.TH DIVVUN-GEN-SH "1" "February 2018" "divvun-gramcheck" "User Commands"
.SH NAME
divvun-gen-sh \- manual page for divvun-gen-sh - Divvun gramcheck version 0.2.0
divvun-gen-sh \- This application is part of divvun-gramcheck
.SH DESCRIPTION
.SS "Usage:"
.IP
Expand Down
2 changes: 1 addition & 1 deletion src/divvun-gen-xmlschemas.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
.TH DIVVUN-GEN-XMLSCHEMAS "1" "February 2018" "divvun-gramcheck" "User Commands"
.SH NAME
divvun-gen-xmlschemas \- manual page for divvun-gen-xmlschemas - Divvun gramcheck version 0.2.0
divvun-gen-xmlschemas \- This application is part of divvun-gramcheck
.SH DESCRIPTION
USAGE: divvun\-gen\-xmlschemas >schemas.xml
.PP
Expand Down
2 changes: 1 addition & 1 deletion src/divvun-suggest.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
.TH DIVVUN-SUGGEST "1" "February 2018" "divvun-gramcheck" "User Commands"
.SH NAME
divvun-suggest \- manual page for divvun-suggest - Divvun gramcheck version 0.2.0
divvun-suggest \- This application is part of divvun-gramcheck
.SH DESCRIPTION
.SS "Usage:"
.IP
Expand Down
2 changes: 1 addition & 1 deletion src/divvun-validate-pipespec.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
.TH DIVVUN-VALIDATE-PIPESPEC "1" "February 2018" "divvun-gramcheck" "User Commands"
.SH NAME
divvun-validate-pipespec \- manual page for divvun-validate-pipespec - Divvun gramcheck version 0.2.0
divvun-validate-pipespec \- This application is part of divvun-gramcheck
.SH DESCRIPTION
.SS "Usage:"
.IP
Expand Down
2 changes: 1 addition & 1 deletion src/divvun-validate-suggest.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
.TH DIVVUN-VALIDATE-SUGGEST "1" "February 2018" "divvun-gramcheck" "User Commands"
.SH NAME
divvun-validate-suggest \- manual page for divvun-validate-suggest - Divvun gramcheck version 0.2.0
divvun-validate-suggest \- This application is part of divvun-gramcheck
.SH DESCRIPTION
.SS "Usage:"
.IP
Expand Down

0 comments on commit e136455

Please sign in to comment.