Add note about aptly serve to command output

This commit is contained in:
Andrey Smirnov
2014-01-31 19:04:25 +04:00
parent 67422642ef
commit 5bd0546fb7
+1
View File
@@ -99,6 +99,7 @@ func aptlyPublishSnapshot(cmd *commander.Command, args []string) error {
fmt.Printf("Now you can add following line to apt sources:\n")
fmt.Printf(" deb http://your-server/%s %s %s\n", prefix, distribution, component)
fmt.Printf("Don't forget to add your GPG key to apt with apt-key.\n")
fmt.Printf("\nYou can also use `aptly serve` to publish your repositories over HTTP quickly.\n")
return err
}