summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-03-10 10:06:39 +0100
committerMatthias Beyer <matthias.beyer@atos.net>2021-03-10 10:06:39 +0100
commit5825e516a71c0809bc0531909397c14fc2eaea28 (patch)
treefa4b8673ae61e6b1f4dd1e630552b6ddddc4f34e
parentfef7675ea06354b7b3102edaffb9eebbd7edfcb1 (diff)
Add long_about for container exec subcommand
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
-rw-r--r--src/cli.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 7edd338..7b6c3f3 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -1019,6 +1019,12 @@ pub fn cli<'a>() -> App<'a> {
.takes_value(true)
.value_name("CMD")
.about("Commands to execute in the container")
+ .long_about(indoc::indoc!(r#"
+ Execute a command in the container.
+
+ This does not handle TTY forwarding, so you cannot execute interactive commands in the container (e.g. htop).
+ For executing interactive things, you have to login to the container.
+ "#))
)
)
)