summaryrefslogtreecommitdiff
path: root/cmd/podman/restore.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/restore.go')
-rw-r--r--cmd/podman/restore.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/restore.go b/cmd/podman/restore.go
index daee635f0..556cdb774 100644
--- a/cmd/podman/restore.go
+++ b/cmd/podman/restore.go
@@ -35,6 +35,7 @@ var (
func init() {
restoreCommand.Command = _restoreCommand
+ restoreCommand.SetUsageTemplate(UsageTemplate())
flags := restoreCommand.Flags()
flags.BoolVarP(&restoreCommand.All, "all", "a", false, "Restore all checkpointed containers")
flags.BoolVarP(&restoreCommand.Keep, "keep", "k", false, "Keep all temporary checkpoint files")
@@ -42,7 +43,6 @@ func init() {
// TODO: add ContainerStateCheckpointed
flags.BoolVar(&restoreCommand.TcpEstablished, "tcp-established", false, "Checkpoint a container with established TCP connections")
- rootCmd.AddCommand(restoreCommand.Command)
}
func restoreCmd(c *cliconfig.RestoreValues) error {