Create cmd to generate man pages for prof commands

`profanity mangen` will create for each command (`/account`, `/roster`)
an own manpage (`profanity-account.1`, `profanity-roster.1`)

See https://github.com/profanity-im/profanity/issues/1444

Needs some polishing formatting wise.
This commit is contained in:
Michael Vetter
2020-12-04 17:29:31 +01:00
parent 35aecd425f
commit 5e99a791e6
4 changed files with 80 additions and 3 deletions

View File

@@ -50,6 +50,7 @@ GList* cmd_get_ordered(const char* const tag);
gboolean cmd_valid_tag(const char* const str);
void command_docgen(void);
void command_mangen(void);
GList* cmd_search_index_all(char* term);
GList* cmd_search_index_any(char* term);