Select cwd as default tree path for commands

This commit is contained in:
Ettore Di Giacinto
2021-01-18 10:40:41 +01:00
parent 3d086c9b17
commit 429e9757db
5 changed files with 19 additions and 12 deletions

View File

@@ -150,7 +150,7 @@ func init() {
Fatal(err)
}
createrepoCmd.Flags().String("packages", path, "Packages folder (output from build)")
createrepoCmd.Flags().StringSliceP("tree", "t", []string{}, "Path of the source trees to use.")
createrepoCmd.Flags().StringSliceP("tree", "t", []string{path}, "Path of the source trees to use.")
createrepoCmd.Flags().String("output", path, "Destination folder")
createrepoCmd.Flags().String("name", "luet", "Repository name")
createrepoCmd.Flags().String("descr", "luet", "Repository description")