From e136455cf1b6875bef0b0969ee6739d9be565306 Mon Sep 17 00:00:00 2001 From: Kevin Brubeck Unhammer Date: Mon, 5 Feb 2018 09:44:33 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=95=20fix=20#5=20-=20help2man=20-n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit hopefully without introducing new linter errors since the whatis entry is still quite useless. Preferably, help2man could get this from --help --- scripts/kbu-devel-build | 7 ++++++- src/divvun-blanktag.1 | 2 +- src/divvun-cgspell.1 | 2 +- src/divvun-checker.1 | 2 +- src/divvun-gen-sh.1 | 2 +- src/divvun-gen-xmlschemas.1 | 2 +- src/divvun-suggest.1 | 2 +- src/divvun-validate-pipespec.1 | 2 +- src/divvun-validate-suggest.1 | 2 +- 9 files changed, 14 insertions(+), 9 deletions(-) diff --git a/scripts/kbu-devel-build b/scripts/kbu-devel-build index e2fda6d..7f15455 100755 --- a/scripts/kbu-devel-build +++ b/scripts/kbu-devel-build @@ -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 diff --git a/src/divvun-blanktag.1 b/src/divvun-blanktag.1 index db3ca00..4b482af 100644 --- a/src/divvun-blanktag.1 +++ b/src/divvun-blanktag.1 @@ -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 diff --git a/src/divvun-cgspell.1 b/src/divvun-cgspell.1 index 59f179b..fa883c1 100644 --- a/src/divvun-cgspell.1 +++ b/src/divvun-cgspell.1 @@ -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 diff --git a/src/divvun-checker.1 b/src/divvun-checker.1 index 18db7c7..8db4fca 100644 --- a/src/divvun-checker.1 +++ b/src/divvun-checker.1 @@ -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 diff --git a/src/divvun-gen-sh.1 b/src/divvun-gen-sh.1 index 70d0843..96e1a5d 100644 --- a/src/divvun-gen-sh.1 +++ b/src/divvun-gen-sh.1 @@ -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 diff --git a/src/divvun-gen-xmlschemas.1 b/src/divvun-gen-xmlschemas.1 index 972fc30..3cb4770 100644 --- a/src/divvun-gen-xmlschemas.1 +++ b/src/divvun-gen-xmlschemas.1 @@ -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 diff --git a/src/divvun-suggest.1 b/src/divvun-suggest.1 index 8db75b5..91c495f 100644 --- a/src/divvun-suggest.1 +++ b/src/divvun-suggest.1 @@ -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 diff --git a/src/divvun-validate-pipespec.1 b/src/divvun-validate-pipespec.1 index 48fef1f..0285852 100644 --- a/src/divvun-validate-pipespec.1 +++ b/src/divvun-validate-pipespec.1 @@ -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 diff --git a/src/divvun-validate-suggest.1 b/src/divvun-validate-suggest.1 index 6b853d7..9f5f274 100644 --- a/src/divvun-validate-suggest.1 +++ b/src/divvun-validate-suggest.1 @@ -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