From 5b51799350ff43c14b9b1b22e98217abca22e925 Mon Sep 17 00:00:00 2001 From: Dmitry Dodzin Date: Thu, 2 Jan 2025 18:37:02 +0200 Subject: [PATCH] Update message --- mirrord/cli/src/config.rs | 3 ++- mirrord/cli/src/container.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mirrord/cli/src/config.rs b/mirrord/cli/src/config.rs index d445597fb10..367504ddbf4 100644 --- a/mirrord/cli/src/config.rs +++ b/mirrord/cli/src/config.rs @@ -834,7 +834,8 @@ pub struct RuntimeArgs { /// Supported command for using mirrord with container runtimes. #[derive(Subcommand, Debug, Clone)] pub(super) enum ContainerRuntimeCommand { - /// Execute a ` create` command with mirrord loaded. + /// Execute a ` create` command with mirrord loaded. (not supported with ) + #[command(hide = true)] Create { /// Arguments that will be propogated to underlying ` create` command. #[arg(allow_hyphen_values = true, trailing_var_arg = true)] diff --git a/mirrord/cli/src/container.rs b/mirrord/cli/src/container.rs index 23014663da5..aa396a0162f 100644 --- a/mirrord/cli/src/container.rs +++ b/mirrord/cli/src/container.rs @@ -319,7 +319,7 @@ pub(crate) async fn container_command( let mut progress = ProgressTracker::from_env("mirrord container"); if runtime_args.command.has_publish() { - progress.warning("mirrord container may have problems with \"-p\" directly container in command, please add to \"contanier.cli_extra_args\" in config if you are planning to publish ports"); + progress.warning("mirrord container may have problems with \"-p\" when used as part of container run command, please add the publish arguments to \"contanier.cli_extra_args\" in config if you are planning to publish ports"); } progress.warning("mirrord container is currently an unstable feature");