summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/podman/restore.go2
-rw-r--r--libpod/container_api.go6
2 files changed, 3 insertions, 5 deletions
diff --git a/cmd/podman/restore.go b/cmd/podman/restore.go
index c4146eff0..7ecec24ee 100644
--- a/cmd/podman/restore.go
+++ b/cmd/podman/restore.go
@@ -61,7 +61,7 @@ func restoreCmd(c *cliconfig.RestoreValues, cmd *cobra.Command) error {
defer runtime.DeferredShutdown(false)
if c.Import == "" && c.Name != "" {
- return errors.Errorf("--name can only used with --import")
+ return errors.Errorf("--name can only be used with --import")
}
if c.Name != "" && c.TcpEstablished {
diff --git a/libpod/container_api.go b/libpod/container_api.go
index 3dd84b02c..00467d2bf 100644
--- a/libpod/container_api.go
+++ b/libpod/container_api.go
@@ -792,10 +792,8 @@ type ContainerCheckpointOptions struct {
// TCPEstablished tells the API to checkpoint a container
// even if it contains established TCP connections
TCPEstablished bool
- // Export tells the API to write the checkpoint image to
- // the filename set in TargetFile
- // Import tells the API to read the checkpoint image from
- // the filename set in TargetFile
+ // TargetFile tells the API to read (or write) the checkpoint image
+ // from (or to) the filename set in TargetFile
TargetFile string
// Name tells the API that during restore from an exported
// checkpoint archive a new name should be used for the