From af87ede1dbb201d2f801036b18ce214375c17238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20M=C3=ADchal?= Date: Thu, 7 Jan 2021 21:07:56 +0100 Subject: [PATCH] completion, doc/toolbox-create: Remove --candidate-registry The --candidate-registry is a lesser known option only supported by the POSIX shell implementation. The Go never implementation never offered it, and nobody has felt its absence so far. So, it's safe to assume that there's no urgent need to port it to Go, and it's better to not confuse users by mentioning it. https://github.com/containers/toolbox/pull/662 --- completion/bash/toolbox | 2 +- doc/toolbox-create.1.md | 15 +-------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/completion/bash/toolbox b/completion/bash/toolbox index 0607b87..72e1c6e 100644 --- a/completion/bash/toolbox +++ b/completion/bash/toolbox @@ -16,7 +16,7 @@ __toolbox() { local commands="create enter help init-container list reset rm rmi run" declare -A options - local options=([create]="--candidate-registry --container --image --release" \ + local options=([create]="--container --image --release" \ [enter]="--container --release" \ [help]="$commands" \ [init-container]="--home --home-link --monitor-host --shell --uid --user" \ diff --git a/doc/toolbox-create.1.md b/doc/toolbox-create.1.md index 5fa99d0..0c7908b 100644 --- a/doc/toolbox-create.1.md +++ b/doc/toolbox-create.1.md @@ -4,8 +4,7 @@ toolbox\-create - Create a new toolbox container ## SYNOPSIS -**toolbox create** [*--candidate-registry*] - [*--container NAME* | *-c NAME*] +**toolbox create** [*--container NAME* | *-c NAME*] [*--image NAME* | *-i NAME*] [*--release RELEASE* | *-r RELEASE*] @@ -29,12 +28,6 @@ with the current user name. The following options are understood: -**--candidate-registry** - -Pull the base image from `candidate-registry.fedoraproject.org`. This is -useful for testing newly built images before they have moved to the stable -registry at `registry.fedoraproject.org`. - **--container** NAME, **-c** NAME Assign a different NAME to the toolbox container. This is useful for creating @@ -72,12 +65,6 @@ $ toolbox create --release f30 $ toolbox create --container foo --image bar ``` -### Create a toolbox using images from the unstable candidate registry - -``` -$ toolbox create --candidate-registry -``` - ## SEE ALSO `buildah(1)`, `podman(1)`