mirror of https://github.com/perkeep/perkeep.git
![]() Previously commands like camput, when invoked with simply just -h or --help, they would only print the global flags defined on flag.CommandLine of the standard library. In order to reach the richer help text including mode information, you had to specify some mode, even a fake one. This change just replaces the flag.Usage function so that the global help flag handling will call into the code that prints the nicer message. Fixes #890 Change-Id: Ib9ae73472148de6e92eeba92f12b5af7debe2bd1 |
||
---|---|---|
.. | ||
cmdmain.go | ||
cmdmain_go12.go |