click-man
click-man copied to clipboard
Add ability to add "copyright", "authors" & "exit status" to man page
I would like to have the sections "copyright" "authors" & "exit status", like in
man man
:
EXIT-STATUS
0 erfolgreiche Programmausführung
1 Fehler beim Aufruf, in der Syntax oder in der Konfigurationsdatei
2 betriebsbedingter Fehler
3 Ein Kind-Prozess gab einen von Null verschiedenen EXIT-Status zurück.
16 Mindestens eine Seite/Datei oder ein Schlüsselwort gibt es nicht oder es wurden keine Treffer dafür gefunden.
man chmod
:
AUTHOR
Written by David MacKenzie and Jim Meyering.
COPYRIGHT
Copyright © 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
I'm not quiet sure yet on how to inject those data into click-man
.
Via setuptools
option would be possible but ugly because you'll get /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: FOO
Via command line option to the man_pages
command is quiet verbose on the other side ...
Maybe a separate configuration file? Like .clickmanrc
?