From e07c31068f55b433da453de54295e4d3b09dc774 Mon Sep 17 00:00:00 2001 From: Sainath Sativar Date: Sun, 29 Sep 2024 13:46:27 +0100 Subject: [PATCH] adding docs for network-cmd-path Signed-off-by: Sainath Sativar --- cmd/podman/root.go | 2 +- docs/source/markdown/podman.1.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/podman/root.go b/cmd/podman/root.go index 1ad2cc18be..e48b497d77 100644 --- a/cmd/podman/root.go +++ b/cmd/podman/root.go @@ -543,7 +543,7 @@ func rootFlags(cmd *cobra.Command, podmanConfig *entities.PodmanConfig) { pFlags.StringVar(&podmanConfig.ConmonPath, conmonFlagName, "", "Path of the conmon binary") _ = cmd.RegisterFlagCompletionFunc(conmonFlagName, completion.AutocompleteDefault) - // TODO (5.0): --network-cmd-path is deprecated, remove this option with the next major release + // TODO (6.0): --network-cmd-path is deprecated, remove this option with the next major release // We need to find all the places that use r.config.Engine.NetworkCmdPath and remove it networkCmdPathFlagName := "network-cmd-path" pFlags.StringVar(&podmanConfig.ContainersConf.Engine.NetworkCmdPath, networkCmdPathFlagName, podmanConfig.ContainersConfDefaultsRO.Engine.NetworkCmdPath, "Path to the command for configuring the network") diff --git a/docs/source/markdown/podman.1.md b/docs/source/markdown/podman.1.md index ee62f1b529..5484080618 100644 --- a/docs/source/markdown/podman.1.md +++ b/docs/source/markdown/podman.1.md @@ -101,7 +101,7 @@ Further note that the flag is a root-level flag and must be specified before any #### **--network-cmd-path**=*path* Path to the `slirp4netns(1)` command binary to use for setting up a slirp4netns network. If "" is used, then the binary will first be searched using the `helper_binaries_dir` option in `containers.conf`, and second using the `$PATH` environment variable. -**Note:** This option is deprecated and will be removed with Podman 5.0. Use the `helper_binaries_dir` option in `containers.conf` instead. +**Note:** This option is deprecated and will be removed with Podman 6.0. Use the `helper_binaries_dir` option in `containers.conf` instead. #### **--network-config-dir**=*directory*