hide --trace flag

The tracing flag is not really something users should worry about.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2020-03-10 08:31:16 +01:00
parent 7b10b71445
commit 7534f9dd1a

View File

@ -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 {