cli: hide --insecure of config fetch-measurements

This commit is contained in:
Thomas Tendyck 2023-06-09 10:49:28 +02:00 committed by Thomas Tendyck
parent 3fde118b33
commit 947d0cb20a
2 changed files with 1 additions and 1 deletions

View File

@ -37,6 +37,7 @@ func newConfigFetchMeasurementsCmd() *cobra.Command {
cmd.Flags().StringP("url", "u", "", "alternative URL to fetch measurements from")
cmd.Flags().StringP("signature-url", "s", "", "alternative URL to fetch measurements' signature from")
cmd.Flags().Bool("insecure", false, "skip the measurement signature verification")
must(cmd.Flags().MarkHidden("insecure"))
return cmd
}

View File

@ -108,7 +108,6 @@ constellation config fetch-measurements [flags]
```
-h, --help help for fetch-measurements
--insecure skip the measurement signature verification
-s, --signature-url string alternative URL to fetch measurements' signature from
-u, --url string alternative URL to fetch measurements from
```