khard icon indicating copy to clipboard operation
khard copied to clipboard

Include command line options in the man page

Open lucc opened this issue 3 years ago • 1 comments

The man page does not list all command line options because I was to lazy to type them all again. There are solutions that can import argparse objects into sphinx documents.

Extracted from https://github.com/lucc/khard/issues/285#issuecomment-782580258:

I found my branch and it uses https://github.com/alex-rudakov/sphinx-argparse to include the argparse stuff into the sphinx document, so that one does not have to type all the options and docs again. (There a quite a lot options in khard :)

I just played around with the branch again and noticed the following (i pushed the branch to github, so you can have a look: feature/auto-man):

I am not really sure if I want to use that,, I will wait for an upstream decision first. If you know of any other alternatives, I am happy to hear them.

lucc avatar Jun 28 '22 06:06 lucc

By the way, the manual page doesn't seem to be installed with the NixOS package.

pacien avatar Sep 30 '23 15:09 pacien