spiegel_podman/cmd
Valentin Rothberg 0b7142f4a4 error when --module is specified on the command level
The --module can only be parsed on the root level.  It cannot work on
the command level, because it must be "manually" parsed on init() to
make sure the specified configuration files/modules are loaded prior to
parsing the flags via Cobra.

Hence move --module from the "persistent" to the "local" flags which
will yield an error instead of doing nothing when being specified on the
command level:

```
$ ./bin/podman run --module=foo.conf --rm alpine
Error: unknown flag: --module
See 'podman run --help'
```

Reported in #20000.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2023-09-18 13:52:38 +02:00
..
podman error when --module is specified on the command level 2023-09-18 13:52:38 +02:00
podman-mac-helper man pages and command help: clean up descriptions 2023-05-28 18:57:43 +02:00
podman-wslkerninst source code comments and docs: fix typos, language, Markdown layout 2023-05-22 07:52:16 +02:00
quadlet Codespell fixups 2023-07-31 09:38:46 -04:00
rootlessport use libnetwork/slirp4netns from c/common 2023-06-22 11:16:13 +02:00
winpath Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00