Merge pull request #596 from stevvooe/fetch-object
cmd/dist: change fetch to fetch-object command
This commit is contained in:
commit
f09aadc9bf
3 changed files with 4 additions and 4 deletions
2
cmd/dist/delete.go
vendored
2
cmd/dist/delete.go
vendored
|
@ -14,7 +14,7 @@ import (
|
|||
|
||||
var deleteCommand = cli.Command{
|
||||
Name: "delete",
|
||||
Aliases: []string{"delete", "del", "remove", "rm"},
|
||||
Aliases: []string{"del", "remove", "rm"},
|
||||
Usage: "permanently delete one or more blobs.",
|
||||
ArgsUsage: "[flags] [<digest>, ...]",
|
||||
Description: `Delete one or more blobs permanently. Successfully deleted
|
||||
|
|
4
cmd/dist/fetch.go → cmd/dist/fetchobject.go
vendored
4
cmd/dist/fetch.go → cmd/dist/fetchobject.go
vendored
|
@ -25,8 +25,8 @@ import (
|
|||
// then receives object/hint lines on stdin, returning content as
|
||||
// needed.
|
||||
|
||||
var fetchCommand = cli.Command{
|
||||
Name: "fetch",
|
||||
var fetchObjectCommand = cli.Command{
|
||||
Name: "fetch-object",
|
||||
Usage: "retrieve objects from a remote",
|
||||
ArgsUsage: "[flags] <remote> <object> [<hint>, ...]",
|
||||
Description: `Fetch objects by identifier from a remote.`,
|
2
cmd/dist/main.go
vendored
2
cmd/dist/main.go
vendored
|
@ -61,7 +61,7 @@ distribution tool
|
|||
},
|
||||
}
|
||||
app.Commands = []cli.Command{
|
||||
fetchCommand,
|
||||
fetchObjectCommand,
|
||||
ingestCommand,
|
||||
activeCommand,
|
||||
getCommand,
|
||||
|
|
Loading…
Reference in a new issue