[Swan-dev] "whack --impair list" include help?

Paul Wouters paul at nohats.ca
Fri May 11 17:07:19 UTC 2018


On Thu, 3 May 2018, Andrew Cagney wrote:

> A tweak I've got sitting here is to modify the output of:
>
> $ whack --impair list
> impair options:
>  ...
>  proposal-parser
>  ...
>

> (I can never remember the correct name for impair options, and finding
> the answer is tedious :-)

same, works for me.

> The catch is in the implementation.  Rather than have each option
> documented twice (both as a comment in pluto_constans.h  and a string
> in impair.c), I was thinking of removing the comments from
> pluto_constants.h and instead having things documented in impair.c (I
> don't like redundancy).

works for me too.

Paul


More information about the Swan-dev mailing list