Permalink
Browse files

pk: fix get Describe that was copied from put

Change-Id: I4e166f2a1b37bdae4a10da2366dc23cfc8dcb054
(cherry picked from commit a4864af)
  • Loading branch information...
mpl committed May 11, 2018
1 parent 6b84753 commit 361dfcd004e04351e58045fbe4fc75aed4080e7b
Showing with 3 additions and 3 deletions.
  1. +3 −3 cmd/pk/get.go
@@ -36,16 +36,16 @@ func init() {
}
func (c *getCmd) Describe() string {
return "Create and upload blobs to a server."
return "Fetches blobs, files, and directories."
}
func (c *getCmd) Usage() {
panic("pk put Usage should never get called, as we should always end up calling either pk's or pk-put's usage")
panic("pk get Usage should never get called, as we should always end up calling either pk's or pk-get's usage")
}
func (c *getCmd) RunCommand(args []string) error {
// RunCommand is only implemented to satisfy the CommandRunner interface.
panic("pk put RunCommand should never get called, as pk is supposed to invoke pk-put instead.")
panic("pk get RunCommand should never get called, as pk is supposed to invoke pk-get instead.")
}
// LookPath returns the full path to the executable that "pk get" actually

0 comments on commit 361dfcd

Please sign in to comment.