From c674438d3178b4711c7fe4807c4ac418c3f5a54a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 20 Mar 2026 13:23:14 +1000 Subject: [PATCH] doc/toolbox-create, doc/toolbox-enter: Add missing --container argument Signed-off-by: Peter Hutterer --- doc/toolbox-create.1.md | 7 +++++++ doc/toolbox-enter.1.md | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/doc/toolbox-create.1.md b/doc/toolbox-create.1.md index f338dd824..f7eea081e 100644 --- a/doc/toolbox-create.1.md +++ b/doc/toolbox-create.1.md @@ -5,6 +5,7 @@ toolbox\-create - Create a new Toolbx container ## SYNOPSIS **toolbox create** [*--authfile FILE*] + [*--container NAME* | *-c NAME*] [*--distro DISTRO* | *-d DISTRO*] [*--image NAME* | *-i NAME*] [*--release RELEASE* | *-r RELEASE*] @@ -99,6 +100,12 @@ images. The FILE is usually set using `podman login`, and will be used by The default location for FILE is `$XDG_RUNTIME_DIR/containers/auth.json` and its format is specified in `containers-auth.json(5)`. +**--container** NAME, **-c** NAME + +Assign the given NAME to the Toolbx container. This option is an alternative +to the positional *CONTAINER* argument. If both are provided, the positional +argument takes precedence. + **--distro** DISTRO, **-d** DISTRO Create a Toolbx container for a different operating system DISTRO than the diff --git a/doc/toolbox-enter.1.md b/doc/toolbox-enter.1.md index 1744f09a0..759cfcd75 100644 --- a/doc/toolbox-enter.1.md +++ b/doc/toolbox-enter.1.md @@ -4,7 +4,8 @@ toolbox\-enter - Enter a Toolbx container for interactive use ## SYNOPSIS -**toolbox enter** [*--distro DISTRO* | *-d DISTRO*] +**toolbox enter** [*--container NAME* | *-c NAME*] + [*--distro DISTRO* | *-d DISTRO*] [*--release RELEASE* | *-r RELEASE*] [*CONTAINER*] @@ -29,6 +30,12 @@ analogous to a `podman start` followed by a `podman exec`. The following options are understood: +**--container** NAME, **-c** NAME + +Enter a Toolbx container with the given NAME. This option is an alternative +to the positional *CONTAINER* argument. If both are provided, the positional +argument takes precedence. + **--distro** DISTRO, **-d** DISTRO Enter a Toolbx container for a different operating system DISTRO than the host.