summaryrefslogtreecommitdiff
path: root/cmd/podman/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/main.go')
-rw-r--r--cmd/podman/main.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go
index 2a0ca30ee..ef11f7905 100644
--- a/cmd/podman/main.go
+++ b/cmd/podman/main.go
@@ -7,6 +7,7 @@ import (
"github.com/containers/storage/pkg/reexec"
"github.com/pkg/errors"
+ "github.com/projectatomic/libpod/pkg/hooks"
"github.com/projectatomic/libpod/version"
"github.com/sirupsen/logrus"
"github.com/urfave/cli"
@@ -123,6 +124,12 @@ func main() {
Usage: "path for the cpu profiling results",
},
cli.StringFlag{
+ Name: "hooks-dir-path",
+ Usage: "set the OCI hooks directory path",
+ Value: hooks.DefaultHooksDir,
+ Hidden: true,
+ },
+ cli.StringFlag{
Name: "log-level",
Usage: "log messages above specified level: debug, info, warn, error (default), fatal or panic",
Value: "error",