diff options
author | baude <bbaude@redhat.com> | 2019-02-10 15:25:13 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-02-11 12:53:21 -0600 |
commit | 13d2354bc6b43571061d6eccab560fe1f226339e (patch) | |
tree | 07d6b759d83e91bd9c3097ee46428a230728c47a /cmd/podman/varlink.go | |
parent | c86e8f180c8b0cdbd1bafe327c4671370096c45f (diff) | |
download | podman-13d2354bc6b43571061d6eccab560fe1f226339e.tar.gz podman-13d2354bc6b43571061d6eccab560fe1f226339e.tar.bz2 podman-13d2354bc6b43571061d6eccab560fe1f226339e.zip |
Separate remote and local commands
In the previous CLI, we had an accurate depiction of commands
available for the remote client and those available for the
local client.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/varlink.go')
-rw-r--r-- | cmd/podman/varlink.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/podman/varlink.go b/cmd/podman/varlink.go index 2b76e034e..73ffcdb3f 100644 --- a/cmd/podman/varlink.go +++ b/cmd/podman/varlink.go @@ -1,4 +1,4 @@ -// +build varlink +// +build varlink,!remoteclient package main @@ -40,8 +40,6 @@ func init() { varlinkCommand.Command = _varlinkCommand flags := varlinkCommand.Flags() flags.Int64VarP(&varlinkCommand.Timeout, "timeout", "t", 1000, "Time until the varlink session expires in milliseconds. Use 0 to disable the timeout") - - rootCmd.AddCommand(varlinkCommand.Command) } func varlinkCmd(c *cliconfig.VarlinkValues) error { |