mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-21 20:54:24 -04:00
cli: hide --insecure of config fetch-measurements
This commit is contained in:
parent
3fde118b33
commit
947d0cb20a
2 changed files with 1 additions and 1 deletions
|
@ -37,6 +37,7 @@ func newConfigFetchMeasurementsCmd() *cobra.Command {
|
||||||
cmd.Flags().StringP("url", "u", "", "alternative URL to fetch measurements from")
|
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().StringP("signature-url", "s", "", "alternative URL to fetch measurements' signature from")
|
||||||
cmd.Flags().Bool("insecure", false, "skip the measurement signature verification")
|
cmd.Flags().Bool("insecure", false, "skip the measurement signature verification")
|
||||||
|
must(cmd.Flags().MarkHidden("insecure"))
|
||||||
|
|
||||||
return cmd
|
return cmd
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,7 +108,6 @@ constellation config fetch-measurements [flags]
|
||||||
|
|
||||||
```
|
```
|
||||||
-h, --help help for fetch-measurements
|
-h, --help help for fetch-measurements
|
||||||
--insecure skip the measurement signature verification
|
|
||||||
-s, --signature-url string alternative URL to fetch measurements' signature from
|
-s, --signature-url string alternative URL to fetch measurements' signature from
|
||||||
-u, --url string alternative URL to fetch measurements from
|
-u, --url string alternative URL to fetch measurements from
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue