diff --git a/cmd/podman/containers/attach.go b/cmd/podman/containers/attach.go
index b87fab5ef2..78b52ad1bc 100644
--- a/cmd/podman/containers/attach.go
+++ b/cmd/podman/containers/attach.go
@@ -43,23 +43,6 @@ var (
 	attachOpts entities.AttachOptions
 )
 
-func init() {
-	registry.Commands = append(registry.Commands, registry.CliCommand{
-		Mode:    []entities.EngineMode{entities.ABIMode},
-		Command: attachCommand,
-	})
-	flags := attachCommand.Flags()
-	attachFlags(flags)
-
-	registry.Commands = append(registry.Commands, registry.CliCommand{
-		Mode:    []entities.EngineMode{entities.ABIMode},
-		Command: containerAttachCommand,
-		Parent:  containerCmd,
-	})
-	containerAttachFlags := containerAttachCommand.Flags()
-	attachFlags(containerAttachFlags)
-}
-
 func attachFlags(flags *pflag.FlagSet) {
 	flags.StringVar(&attachOpts.DetachKeys, "detach-keys", containerConfig.DetachKeys(), "Select the key sequence for detaching a container. Format is a single character `[a-Z]` or a comma separated sequence of `ctrl-<value>`, where `<value>` is one of: `a-z`, `@`, `^`, `[`, `\\`, `]`, `^` or `_`")
 	flags.BoolVar(&attachOpts.NoStdin, "no-stdin", false, "Do not attach STDIN. The default is false")
diff --git a/cmd/podman/containers/commit.go b/cmd/podman/containers/commit.go
index 69e343f59f..137e486ebb 100644
--- a/cmd/podman/containers/commit.go
+++ b/cmd/podman/containers/commit.go
@@ -72,7 +72,7 @@ func init() {
 
 	registry.Commands = append(registry.Commands, registry.CliCommand{
 		Mode:    []entities.EngineMode{entities.ABIMode, entities.TunnelMode},
-		Command: containerAttachCommand,
+		Command: containerCommitCommand,
 		Parent:  containerCmd,
 	})
 	containerCommitFlags := containerCommitCommand.Flags()
diff --git a/cmd/podman/containers/run.go b/cmd/podman/containers/run.go
index ffad26fe95..06b89b0fcb 100644
--- a/cmd/podman/containers/run.go
+++ b/cmd/podman/containers/run.go
@@ -34,8 +34,8 @@ var (
 		Long:  runCommand.Long,
 		RunE:  runCommand.RunE,
 		Example: `podman container run imageID ls -alF /etc
-  podman container run --network=host imageID dnf -y install java
-  podman container run --volume /var/hostdir:/var/ctrdir -i -t fedora /bin/bash`,
+	podman container run --network=host imageID dnf -y install java
+	podman container run --volume /var/hostdir:/var/ctrdir -i -t fedora /bin/bash`,
 	}
 )
 
diff --git a/cmd/podman/containers/start.go b/cmd/podman/containers/start.go
index a321b130e0..73f37e51ff 100644
--- a/cmd/podman/containers/start.go
+++ b/cmd/podman/containers/start.go
@@ -66,7 +66,7 @@ func init() {
 		Parent:  containerCmd,
 	})
 
-	containerStartFlags := containerRunCommand.Flags()
+	containerStartFlags := containerStartCommand.Flags()
 	startFlags(containerStartFlags)
 }