Skip to content

Commit 39290dd

Browse files
authored
chore: mark network policies beta and network reporting alpha (#576)
1 parent e064502 commit 39290dd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cli/cmd/network_update.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ func (r *runners) InitNetworkUpdateCommand(parent *cobra.Command) *cobra.Command
1414
Short: "Update network settings.",
1515
Long: `The 'update' command allows you to update various settings of a test network.
1616
17-
You can either specify the network ID directly or provide the network name, and the command will resolve the corresponding network ID.`,
17+
You can either specify the network ID directly or provide the network name, and the command will resolve the corresponding network ID.
18+
19+
Network Policies are currently a beta feature, and network reporting is currently an alpha feature.`,
1820
Example: `# Update a network using its ID
1921
replicated network update <network-id> --policy airgap
2022
@@ -36,7 +38,6 @@ replicated network update <network-id> --policy airgap --collect-report`,
3638
RunE: r.updateNetwork,
3739
SilenceUsage: true,
3840
ValidArgsFunction: r.completeNetworkIDsAndNames,
39-
Hidden: true,
4041
}
4142
parent.AddCommand(cmd)
4243

@@ -48,6 +49,7 @@ replicated network update <network-id> --policy airgap --collect-report`,
4849

4950
cmd.Flags().StringVar(&r.args.updateNetworkPolicy, "policy", "", "Update network policy setting")
5051
cmd.Flags().BoolVar(&r.args.updateNetworkCollectReport, "collect-report", false, "Enable report collection on this network (use --collect-report=false to disable)")
52+
cmd.Flags().MarkHidden("collect-report")
5153
cmd.Flags().StringVar(&r.outputFormat, "output", "table", "The output format to use. One of: json|table|wide")
5254

5355
return cmd

0 commit comments

Comments
 (0)