@@ -163,7 +163,7 @@ pub enum Command<Run: Args = ProductOperatorRun> {
163163/// Can be embedded into an extended argument set:
164164///
165165/// ```rust
166- /// # use stackable_operator::cli::{Command, OperatorEnvironmentOptions, ProductOperatorRun, ProductConfigPath};
166+ /// # use stackable_operator::cli::{Command, CommonStackableCliArgs, OperatorEnvironmentOptions, ProductOperatorRun, ProductConfigPath};
167167/// # use stackable_operator::{namespace::WatchNamespace, utils::cluster_info::KubernetesClusterInfoOptions};
168168/// # use stackable_telemetry::tracing::TelemetryOptions;
169169/// use clap::Parser;
@@ -195,13 +195,15 @@ pub enum Command<Run: Args = ProductOperatorRun> {
195195/// assert_eq!(opts, Command::Run(Run {
196196/// name: "foo".to_string(),
197197/// common: ProductOperatorRun {
198+ /// common: CommonStackableCliArgs {
199+ /// telemetry: TelemetryOptions::default(),
200+ /// cluster_info: KubernetesClusterInfoOptions {
201+ /// kubernetes_cluster_domain: None,
202+ /// kubernetes_node_name: "baz".to_string(),
203+ /// },
204+ /// },
198205/// product_config: ProductConfigPath::from("bar".as_ref()),
199206/// watch_namespace: WatchNamespace::One("foobar".to_string()),
200- /// telemetry: TelemetryOptions::default(),
201- /// cluster_info: KubernetesClusterInfoOptions {
202- /// kubernetes_cluster_domain: None,
203- /// kubernetes_node_name: "baz".to_string(),
204- /// },
205207/// operator_environment: OperatorEnvironmentOptions {
206208/// operator_namespace: "stackable-operators".to_string(),
207209/// operator_service_name: "foo-operator".to_string(),
0 commit comments