Adam Tuja wrote:
I'm implementing this reusing the --verbose option.

I Don't fancy it - been there, done that. `-hh' is so much simpler.

'-hh' requires counting the -h's and relocating the call to show_help. '-vh' works as-is because the -v's are already counted. So in fact '-vh' is much simpler.

It's that what you wanted?

As long as it fits in the screen it's fine, I guess.

OK. Thanks.

Although I would add dictionary, and match mapping to it as it's useful
information and going through info is bit annoying.

It would be nice, but help2man breaks the format of the table in the man page:

     Level      Dictionary    size    (-s)     Match   length   limit   (-m)
     ------------------------------------------------------ -0       64  KiB
     16  bytes  -1        1  MiB                    5 bytes -2       1.5 MiB
     6 bytes  -3        2  MiB                    8  bytes  -4        3  MiB
     12  bytes  -5        4  MiB                   20  bytes  -6       8 MiB
     36 bytes -7       16  MiB                   68  bytes  -8       24  MiB
     132 bytes -9      32 MiB                 273 bytes

Best regards,
Antonio.

Reply via email to