Skip to content

Commit 8ddf89b

Browse files
author
Dominik Przybyl
committed
minor
1 parent e4fafbb commit 8ddf89b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/aem/content.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func (c *CLI) contentDownloadCmd() *cobra.Command {
7676
c.Error(err)
7777
return
7878
}
79-
pid, _ := cmd.Flags().GetString("pid")
79+
pid, _ := cmd.Flags().GetString("target-pid")
8080
if pid == "" {
8181
pid = fmt.Sprintf("aemc:content-download:%s-SNAPSHOT", timex.FileTimestampForNow())
8282
}
@@ -96,7 +96,7 @@ func (c *CLI) contentDownloadCmd() *cobra.Command {
9696
c.Changed("content downloaded")
9797
},
9898
}
99-
cmd.Flags().String("pid", "", "ID (group:name:version)'")
99+
cmd.Flags().String("target-pid", "", "Target package ID (group:name:version)'")
100100
cmd.Flags().StringP("target-file", "t", "", "Target file path for downloaded package")
101101
_ = cmd.MarkFlagRequired("target-file")
102102
cmd.Flags().StringSliceP("filter-roots", "r", []string{}, "Vault filter root paths")

0 commit comments

Comments
 (0)