mirror of https://github.com/containers/podman.git
Initial impetus was #20958 (ps --format .Label abc). This is a complicated solution to a simple-seeming problem. The problem: .Label is a cobra *function*, something I did not know about nor handle. Solution: recognize cobra functions. Switch to __complete, not __completeNoDesc, so we can see the number of arguments required. Invent new man-page format for documenting functions. And, finally, start enforcing how functions (and cobra structs) are documented. This discovered a never-used completion function, .Recycle(), in podman-events. Remove it. [NO NEW TESTS NEEDED] - the .go change is an excision of dead code. Signed-off-by: Ed Santiago <santiago@redhat.com> |
||
---|---|---|
.. | ||
config.go | ||
events.go | ||
events_freebsd.go | ||
events_linux.go | ||
events_unsupported.go | ||
filters.go | ||
journal_linux.go | ||
journal_unsupported.go | ||
logfile.go | ||
logfile_test.go | ||
memory.go | ||
nullout.go |