1 |
On 12/13/2016 06:11 AM, Mike Pagano wrote: |
2 |
> |
3 |
> You're absolutely right, Mike. It was the devmanual. |
4 |
> |
5 |
> I'm not a fan of having an empty usage. As the devmanual is written |
6 |
> today, it is not optional. |
7 |
> |
8 |
|
9 |
The devmanual is once again based on the awk script, which vaguely |
10 |
implies that USAGE is required. For example, some other tags are optional: |
11 |
|
12 |
# @EXAMPLE: |
13 |
# <optional; example usage> |
14 |
|
15 |
but the @USAGE does not say that it is: |
16 |
|
17 |
# The format of functions: |
18 |
# @FUNCTION: foo |
19 |
# @USAGE: <required arguments to foo> [optional arguments to foo] |
20 |
# @RETURN: <whatever foo returns> |
21 |
... |
22 |
|
23 |
From now on, it would make more sense if the awk script conformed to the |
24 |
devmanual rather than the other way around. I don't see any problem with |
25 |
amending the devmanual, and then pestering the script maintainers to |
26 |
play along. |