Skip to content

Commit

Permalink
Mark --ca-roots and --ca-intermediates as unsupported
Browse files Browse the repository at this point in the history
Signed-off-by: Aditya Sirish A Yelgundhalli <[email protected]>
  • Loading branch information
adityasaky committed Oct 22, 2024
1 parent 584a988 commit 93b9974
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/commands/verify/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ If no revision is specified, HEAD is used.`,
// --certificate-chain: We only support reading from a TUF root at the moment.
// TODO: add support for this.
_ = cmd.Flags().MarkHidden("certificate-chain")
// --ca-intermediates and --ca-roots
_ = cmd.Flags().MarkHidden("ca-intermediates")
_ = cmd.Flags().MarkHidden("ca-roots")

return cmd
}

0 comments on commit 93b9974

Please sign in to comment.