Skip to content

Commit 511f73e

Browse files
committed
Add the --no-add-tmt-dependencies option as well
This is needed to actually allow disabling the flag from the command ine as it is `True` by default.
1 parent d6bd0a3 commit 511f73e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tmt/steps/provision/bootc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@ class BootcData(tmt.steps.provision.testcloud.ProvisionTestcloudData):
113113
metavar='CONTAINER_IMAGE',
114114
help="""
115115
Select container image to be used to build a bootc disk.
116-
This takes priority over container-file.
116+
This takes priority over Containerfile.
117117
""")
118118

119119
add_tmt_dependencies: bool = field(
120120
default=True,
121121
is_flag=True,
122-
option=('--add-tmt-dependencies'),
122+
option=('--add-tmt-dependencies/--no-add-tmt-dependencies'),
123123
help="""
124124
Add tmt dependencies to the supplied container image or image built
125125
from the supplied Containerfile.
@@ -149,7 +149,7 @@ class ProvisionBootc(tmt.steps.provision.ProvisionPlugin[BootcData]):
149149
how: bootc
150150
container-image: quay.io/centos-bootc/centos-bootc:stream9
151151
152-
Here's a config example using a containerfile:
152+
Here's a config example using a Containerfile:
153153
154154
.. code-block:: yaml
155155

0 commit comments

Comments
 (0)