podman/pkg/systemd/generate
Paul Holzinger ef82be4e00 Make podman generate systemd --new flag parsing more robust
First, use the pflag library to parse the flags. With this we can
handle all corner cases such as -td or --detach=false.

Second, preserve the root args with --new. They are used for all podman
commands in the unit file. (e.g. podman --root /tmp run alpine)

Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
2021-01-07 11:50:28 +01:00
..
common.go Make podman generate systemd --new flag parsing more robust 2021-01-07 11:50:28 +01:00
common_test.go generate systemd: quote arguments with whitespace 2020-08-19 08:32:51 +02:00
containers.go Make podman generate systemd --new flag parsing more robust 2021-01-07 11:50:28 +01:00
containers_test.go Make podman generate systemd --new flag parsing more robust 2021-01-07 11:50:28 +01:00
pods.go Make podman generate systemd --new flag parsing more robust 2021-01-07 11:50:28 +01:00
pods_test.go Make podman generate systemd --new flag parsing more robust 2021-01-07 11:50:28 +01:00