diff options
Diffstat (limited to 'cmd/podman/commands.go')
-rw-r--r-- | cmd/podman/commands.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/podman/commands.go b/cmd/podman/commands.go index e7527171a..90e2ab5cf 100644 --- a/cmd/podman/commands.go +++ b/cmd/podman/commands.go @@ -41,10 +41,13 @@ func getMainCommands() []*cobra.Command { _topCommand, _umountCommand, _unpauseCommand, - _varlinkCommand, volumeCommand.Command, _waitCommand, } + + if len(_varlinkCommand.Use) > 0 { + rootCommands = append(rootCommands, _varlinkCommand) + } return rootCommands } |