Merge pull request #596 from stevvooe/fetch-object

cmd/dist: change fetch to fetch-object command
This commit is contained in:
Derek McGowan 2017-03-02 16:00:15 -08:00 committed by GitHub
commit f09aadc9bf
3 changed files with 4 additions and 4 deletions

2
cmd/dist/delete.go vendored
View File

@ -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

View File

@ -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
View File

@ -61,7 +61,7 @@ distribution tool
},
}
app.Commands = []cli.Command{
fetchCommand,
fetchObjectCommand,
ingestCommand,
activeCommand,
getCommand,