diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-06-15 09:06:56 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-06-15 11:41:57 -0700 |
commit | 2e22e18afbaba175a0328b0d70ca4d6bb15c441e (patch) | |
tree | 8b0cf532379ba1e6334bcac092daa5333517c3e2 /cmd/podman/system/varlink.go | |
parent | 2c7b39ddb8961bf547a36420407adb461dd4c227 (diff) | |
download | podman-2e22e18afbaba175a0328b0d70ca4d6bb15c441e.tar.gz podman-2e22e18afbaba175a0328b0d70ca4d6bb15c441e.tar.bz2 podman-2e22e18afbaba175a0328b0d70ca4d6bb15c441e.zip |
Add deprecated message to varlink command
* Remove varlink references from the man pages
* Fix signature for extractTarFile()
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'cmd/podman/system/varlink.go')
-rw-r--r-- | cmd/podman/system/varlink.go | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/cmd/podman/system/varlink.go b/cmd/podman/system/varlink.go index 19535e539..33a807533 100644 --- a/cmd/podman/system/varlink.go +++ b/cmd/podman/system/varlink.go @@ -16,11 +16,13 @@ var ( Tools speaking varlink protocol can remotely manage pods, containers and images. ` varlinkCmd = &cobra.Command{ - Use: "varlink [flags] [URI]", - Args: cobra.MinimumNArgs(1), - Short: "Run varlink interface", - Long: varlinkDescription, - RunE: varlinkE, + Use: "varlink [flags] [URI]", + Args: cobra.MinimumNArgs(1), + Short: "Run varlink interface", + Long: varlinkDescription, + RunE: varlinkE, + Deprecated: "Please see 'podman system service' for RESTful APIs", + Hidden: true, Example: `podman varlink unix:/run/podman/io.podman podman varlink --time 5000 unix:/run/podman/io.podman`, } |