spiegel_podman/cmd
Paul Holzinger 68f7349bcd shell completion --format: work with nil structs
AutocompleteFormat() takes the format struct as argument. Often the structs
are deeply nested and contain other structs. Up until now if there was a
pointer to a struct the logic was not able to get the field names from
that, simply because the pointer was nil. However it is possible to
create a new initialized type with reflect.New(). This allows us to
complete all struct fields/functions even when there nil pointers.
Therefore we can drop the extra initialization which was done by some
callers.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-05-03 13:41:27 -04:00
..
podman shell completion --format: work with nil structs 2022-05-03 13:41:27 -04:00
podman-mac-helper Run codespell to cleanup typos 2022-03-25 15:34:41 -04:00
rootlessport fix a number of errcheck issues 2022-03-22 13:15:28 +01:00
winpath Add podman rm --depend 2022-01-11 14:33:54 -05:00