summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-06-07 15:16:51 -0400
committerMatthew Heon <matthew.heon@pm.me>2019-06-07 15:17:40 -0400
commitd40b450afdc9784a3dcf0d5b95712f4ad8a46cc0 (patch)
treeb8a0fde4840bbf0940c886ccbc95d463aa8c825c
parentd81fc2e19274d1531ee26650fc90c7011eada5cf (diff)
downloadpodman-d40b450afdc9784a3dcf0d5b95712f4ad8a46cc0.tar.gz
podman-d40b450afdc9784a3dcf0d5b95712f4ad8a46cc0.tar.bz2
podman-d40b450afdc9784a3dcf0d5b95712f4ad8a46cc0.zip
Default 'pause' to false for 'podman cp'
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
-rw-r--r--cmd/podman/cp.go2
-rw-r--r--docs/podman-cp.1.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/cp.go b/cmd/podman/cp.go
index 2e2ca272a..7679ebcf1 100644
--- a/cmd/podman/cp.go
+++ b/cmd/podman/cp.go
@@ -51,7 +51,7 @@ func init() {
cpCommand.Command = _cpCommand
flags := cpCommand.Flags()
flags.BoolVar(&cpCommand.Extract, "extract", false, "Extract the tar file into the destination directory.")
- flags.BoolVar(&cpCommand.Pause, "pause", true, "Pause the container while copying")
+ flags.BoolVar(&cpCommand.Pause, "pause", false, "Pause the container while copying")
cpCommand.SetHelpTemplate(HelpTemplate())
cpCommand.SetUsageTemplate(UsageTemplate())
rootCmd.AddCommand(cpCommand.Command)
diff --git a/docs/podman-cp.1.md b/docs/podman-cp.1.md
index 76fe57a9e..ee218d66a 100644
--- a/docs/podman-cp.1.md
+++ b/docs/podman-cp.1.md
@@ -63,7 +63,7 @@ Extract the tar file into the destination directory. If the destination director
**--pause**
-Pause the container while copying into it to avoid potential security issues around symlinks. Defaults to *true*.
+Pause the container while copying into it to avoid potential security issues around symlinks. Defaults to *false*.
## ALTERNATIVES