x/lib/cmdline: Fix usage for subcommands, and short help.

It turns out the hack in v23-go/go.go was causing us to drop the
CMDLINE_PREFIX for all of the v23 binary-based subcommands.
Instead of hacking it there, a better solution is to fix up the
environment variables in gendoc.go, so that "v23 go generate"
doesn't pollute every generated doc with a "v23" prefix.

Another weirdness was that the short help for subcommands ordered
the "help" usage in between the built-in children, and the binary
subcommands, while the long help always ordered the "help" usage
at the end.  The new behavior is to put the "help" usage at the
end for both short and long help.

Change-Id: I5a75fe8eace605b69037b456a6807fb0096a5bd4
MultiPart: 1/2
3 files changed
tree: cf2ec065d27ed8e898a175c933c08f2ccc413b45
  1. cmdline/
  2. dbutil/
  3. envvar/
  4. host/
  5. metadata/
  6. netconfig/
  7. netstate/
  8. set/
  9. textutil/
  10. toposort/
  11. vlog/
  12. .gitignore
  13. .godepcop
  14. AUTHORS
  15. CONTRIBUTORS
  16. LICENSE
  17. PATENTS
  18. README.md
  19. VERSION
README.md

This repository contains general purpose libraries used by the Vanadium project. TEST