Skip to content

Commit 4b5b302

Browse files
committed
Added deprecation warning
1 parent 8066397 commit 4b5b302

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

x/pki/client/cli/query_noc_certificates_by_vid_skid.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ func CmdShowNocCertificatesByVidAndSkid() *cobra.Command {
1616
)
1717

1818
cmd := &cobra.Command{
19-
Use: "noc-x509-certs",
20-
Short: "Gets NOC (Root/ICA) certificates (RCAC/ICAC) by VID and Skid",
21-
Args: cobra.ExactArgs(0),
19+
Use: "noc-x509-certs",
20+
Short: "Gets NOC (Root/ICA) certificates (RCAC/ICAC) by VID and Skid",
21+
Deprecated: "Command is deprecated in favour of 'noc-x509-cert'",
22+
Args: cobra.ExactArgs(0),
2223
RunE: func(cmd *cobra.Command, args []string) (err error) {
2324
clientCtx := client.GetClientContextFromCmd(cmd)
2425

0 commit comments

Comments
 (0)