<endpoint> in command usage. #15

This commit is contained in:
Andrey Smirnov
2014-07-28 15:03:55 +04:00
parent 2c470c1535
commit bf91744078
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ func aptlyPublishSwitch(cmd *commander.Command, args []string) error {
func makeCmdPublishSwitch() *commander.Command {
cmd := &commander.Command{
Run: aptlyPublishSwitch,
UsageLine: "switch <distribution> [<prefix>] <new-snapshot>",
UsageLine: "switch <distribution> [[<endpoint>:]<prefix>] <new-snapshot>",
Short: "update published repository by switching to new snapshot",
Long: `
Command switches in-place published repository with new snapshot contents. All