Skip to content

Commit 6fc98fb

Browse files
authored
chore: Small improvement of download CLI flag descriptions (#1106)
chore: improve wording of --api, --settings-schema, --only-apis and --only-settings
1 parent 6998019 commit 6fc98fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmd/monaco/download/download_command.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ func GetDownloadCommand(fs afero.Fs, command Command) (cmd *cobra.Command) {
7777
cmd.Flags().StringVar(&f.clientSecret, "oauth-client-secret", "", "OAuth client secret environment variable. Required when using the flag '--url' and connecting to a Dynatrace Platform.")
7878

7979
// download options
80-
cmd.Flags().StringSliceVarP(&f.specificAPIs, "api", "a", nil, "One or more APIs to download (flag can be repeated or value defined as comma separated list)")
81-
cmd.Flags().StringSliceVarP(&f.specificSchemas, "settings-schema", "s", nil, "One or more settings 2.0 schemas to download (flag can be repeated or value defined as comma separated list)")
82-
cmd.Flags().BoolVar(&f.onlyAPIs, "only-apis", false, "Only download config APIs, skip downloading settings 2.0 objects")
83-
cmd.Flags().BoolVar(&f.onlySettings, "only-settings", false, "Only download settings 2.0 objects, skip downloading config APIs")
80+
cmd.Flags().StringSliceVarP(&f.specificAPIs, "api", "a", nil, "Download one or more classic configuration APIs, including deprecated ones. (Repeat flag or use comma-separated values)")
81+
cmd.Flags().StringSliceVarP(&f.specificSchemas, "settings-schema", "s", nil, "Download settings 2.0 objects of one or more settings 2.0 schemas. (Repeat flag or use comma-separated values)")
82+
cmd.Flags().BoolVar(&f.onlyAPIs, "only-apis", false, "Download only classic configuration APIs. Deprecated configuration APIs will not be included.")
83+
cmd.Flags().BoolVar(&f.onlySettings, "only-settings", false, "Download only settings 2.0 objects")
8484

8585
// combinations
8686
cmd.MarkFlagsMutuallyExclusive("settings-schema", "only-apis", "only-settings")

0 commit comments

Comments
 (0)