summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-03-10 08:31:16 +0100
committerValentin Rothberg <rothberg@redhat.com>2020-03-10 08:33:39 +0100
commit7534f9dd1a2e9ee4b7a7a7333ff2ec636949d68f (patch)
treeb612992c5474dcc799b093b6f111ca63b533ddab /cmd/podman
parent7b10b71445a25d349cc64b5a561bca2860bde9b2 (diff)
downloadpodman-7534f9dd1a2e9ee4b7a7a7333ff2ec636949d68f.tar.gz
podman-7534f9dd1a2e9ee4b7a7a7333ff2ec636949d68f.tar.bz2
podman-7534f9dd1a2e9ee4b7a7a7333ff2ec636949d68f.zip
hide --trace flag
The tracing flag is not really something users should worry about. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/main_local.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/main_local.go b/cmd/podman/main_local.go
index 9af698d95..79b5e5af7 100644
--- a/cmd/podman/main_local.go
+++ b/cmd/podman/main_local.go
@@ -71,6 +71,7 @@ func init() {
rootCmd.PersistentFlags().StringVar(&MainGlobalOpts.TmpDir, "tmpdir", "", "Path to the tmp directory for libpod state content.\n\nNote: use the environment variable 'TMPDIR' to change the temporary storage location for container images, '/var/tmp'.\n")
rootCmd.PersistentFlags().BoolVar(&MainGlobalOpts.Trace, "trace", false, "Enable opentracing output (default false)")
+ markFlagHidden(rootCmd.PersistentFlags(), "trace")
}
func setSyslog() error {