click-man icon indicating copy to clipboard operation
click-man copied to clipboard

Add ability to add "copyright", "authors" & "exit status" to man page

Open BrunnerLivio opened this issue 7 years ago • 1 comments

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.

BrunnerLivio avatar Mar 09 '17 06:03 BrunnerLivio

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 ?

timofurrer avatar Mar 11 '17 12:03 timofurrer