summaryrefslogtreecommitdiff
path: root/cmd/podman/main.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-12-04 12:19:48 -0800
committerGitHub <noreply@github.com>2018-12-04 12:19:48 -0800
commitb81f640bb5a821a1f44b6899a01d9523a38ec351 (patch)
treec2e95941146437198d5a02ee8d6fc4df94f076a8 /cmd/podman/main.go
parenta01a590ae8ea817ff38c30cf4b534c17584aaec2 (diff)
parenta4b483c8484bb6fb9ae487264bccc663f007e711 (diff)
downloadpodman-b81f640bb5a821a1f44b6899a01d9523a38ec351.tar.gz
podman-b81f640bb5a821a1f44b6899a01d9523a38ec351.tar.bz2
podman-b81f640bb5a821a1f44b6899a01d9523a38ec351.zip
Merge pull request #1920 from wking/explicit-hooks-dirs
libpod/container_internal: Deprecate implicit hook directories
Diffstat (limited to 'cmd/podman/main.go')
-rw-r--r--cmd/podman/main.go9
1 files changed, 3 insertions, 6 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go
index 6be192593..bcae04575 100644
--- a/cmd/podman/main.go
+++ b/cmd/podman/main.go
@@ -8,7 +8,6 @@ import (
"syscall"
"github.com/containers/libpod/libpod"
- "github.com/containers/libpod/pkg/hooks"
_ "github.com/containers/libpod/pkg/hooks/0.1.0"
"github.com/containers/libpod/pkg/rootless"
"github.com/containers/libpod/version"
@@ -206,11 +205,9 @@ func main() {
Usage: "path to default mounts file",
Hidden: true,
},
- cli.StringFlag{
- Name: "hooks-dir-path",
- Usage: "set the OCI hooks directory path",
- Value: hooks.DefaultDir,
- Hidden: true,
+ cli.StringSliceFlag{
+ Name: "hooks-dir",
+ Usage: "set the OCI hooks directory path (may be set multiple times)",
},
cli.IntFlag{
Name: "max-workers",