-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pod): only set
PodName=
when --name
is used
Only set `PodName=` Quadlet option when `--name` is used per the discussion in #88. Renamed `name` to `name_flag`. Moved `name_flag` so that it matches the `PodName=` position on podman-systemd.unit(5) man page. Added more user-friendly documentation to `name_flag` help text. Set `long = "name"` and `short` arg attributes for `name_flag`. Refactored `Pod::name()` a bit to use more destructuring and `Option::as_deref()`. Signed-off-by: Paul Nettleton <k9@k9withabone.dev>
- Loading branch information
1 parent
a3009d0
commit cc00d45
Showing
1 changed file
with
36 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters