mirror of
https://github.com/containers/podman.git
synced 2025-09-13 02:24:31 +08:00
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:
@ -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().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)")
|
rootCmd.PersistentFlags().BoolVar(&MainGlobalOpts.Trace, "trace", false, "Enable opentracing output (default false)")
|
||||||
|
markFlagHidden(rootCmd.PersistentFlags(), "trace")
|
||||||
}
|
}
|
||||||
|
|
||||||
func setSyslog() error {
|
func setSyslog() error {
|
||||||
|
Reference in New Issue
Block a user