From 6f37d9bee7e6dd2aaf3813bd0414c4aaee456740 Mon Sep 17 00:00:00 2001 From: Kohei Tokunaga Date: Tue, 27 Jun 2023 15:16:32 +0900 Subject: [PATCH 1/2] monitor: attach: fix typo in long help message Signed-off-by: Kohei Tokunaga --- monitor/commands/attach.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor/commands/attach.go b/monitor/commands/attach.go index 07cb5acf..cbd5b48b 100644 --- a/monitor/commands/attach.go +++ b/monitor/commands/attach.go @@ -28,7 +28,7 @@ Usage: attach ID ID is for a session (visible via list command) or a process (visible via ps command). -If you attached to a process, use Ctrl-c-a for switching the monitor to that process's STDIO. +If you attached to a process, use Ctrl-a-c for switching the monitor to that process's STDIO. `, } } From ca08eb65e23672273311780e7897997f46462a93 Mon Sep 17 00:00:00 2001 From: Kohei Tokunaga Date: Tue, 27 Jun 2023 15:17:01 +0900 Subject: [PATCH 2/2] docs: debug: update the output of `help` command to the latest message Signed-off-by: Kohei Tokunaga --- docs/guides/debugging.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guides/debugging.md b/docs/guides/debugging.md index df1b49b8..b40bd7ff 100644 --- a/docs/guides/debugging.md +++ b/docs/guides/debugging.md @@ -106,12 +106,12 @@ Available commands are: disconnect disconnect a client from a buildx server. Specific session ID can be specified an arg exec execute a process in the interactive container exit exits monitor - help shows this message + help shows this message. Optionally pass a command name as an argument to print the detailed usage. kill kill buildx server list list buildx sessions ps list processes invoked by "exec". Use "attach" to attach IO to that process reload reloads the context and build it - rollback re-runs the interactive container with initial rootfs contents + rollback re-runs the interactive container with the step's rootfs contents ``` ## Build controllers @@ -151,4 +151,4 @@ Attached to process "3ug8iqaufiwwnukimhqqt06jz". Press Ctrl-a-c to switch to the bin etc lib mnt proc run srv tmp var dev home media opt root sbin sys usr work / # -``` \ No newline at end of file +```