1
0
Fork 0

update-manpages: explicitly strip color codes

On some systems, help2man produces color codes in the output.  Remove
them to avoid manpage churn.

Also begin adding unit tests.

Change-Id: I3f0204b19d9cae524d3cb5fcfb61ee309b0931fc
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/349655
Tested-by: LaMont Jones <lamontjones@google.com>
Reviewed-by: Xin Li <delphij@google.com>
This commit is contained in:
LaMont Jones 2022-10-26 16:32:42 +00:00
parent ed25be569e
commit f8af33c9f0
3 changed files with 49 additions and 7 deletions

1
tests/update_manpages.py Symbolic link
View file

@ -0,0 +1 @@
update-manpages