tep / base-toolman

Common Initialization for All toolman.org Go Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for --help and --helpfull

tep opened this issue · comments

The default usage message generated by the --help flag should only show flags registered by the caller of Init() (or, optionally, by packages at or below the caller's package path). The full and complete usage message should only be available when --helpfull is issued.

NOTE: Will need to investigate whether the neighboring package path of a program's main package is actually available via reflection (or similar).