Update integrated help.

This commit is contained in:
Andrey Smirnov
2014-03-10 19:42:27 +04:00
parent c28a641293
commit 4c81f0f52a
29 changed files with 166 additions and 109 deletions
+7 -4
View File
@@ -31,17 +31,20 @@ func makeCmdRepoCreate() *commander.Command {
cmd := &commander.Command{
Run: aptlyRepoCreate,
UsageLine: "create <name>",
Short: "create new local package repository",
Short: "create local repository",
Long: `
Creates new empty local package repository.
Create local package repository. Repository would be empty when
created, packages could be added from files, copied or moved from
another local repository or imported from the mirror.
Example:
ex:
$ aptly repo create testing
`,
Flag: *flag.NewFlagSet("aptly-repo-create", flag.ExitOnError),
}
cmd.Flag.String("comment", "", "comment for the repository")
cmd.Flag.String("comment", "", "any text that would be used to described local repository")
return cmd
}