Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ USAGE:

ARGS:
tag-id UUID of the tag
[force] If two tags share the same digest the deletion will fail unless this parameter is set to true
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)

DEPRECATED ARGS:
[force] If two tags share the same digest the deletion will fail unless this parameter is set to true (deprecated)

FLAGS:
-h, --help help for delete

Expand Down
2 changes: 1 addition & 1 deletion docs/commands/registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ scw registry tag delete <tag-id ...> [arg=value ...]
| Name | | Description |
|------|---|-------------|
| tag-id | Required | UUID of the tag |
| force | | If two tags share the same digest the deletion will fail unless this parameter is set to true |
| ~~force~~ | Deprecated | If two tags share the same digest the deletion will fail unless this parameter is set to true (deprecated) |
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |


Expand Down
4 changes: 2 additions & 2 deletions internal/namespaces/registry/v1/registry_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -638,9 +638,9 @@ func registryTagDelete() *core.Command {
},
{
Name: "force",
Short: `If two tags share the same digest the deletion will fail unless this parameter is set to true`,
Short: `If two tags share the same digest the deletion will fail unless this parameter is set to true (deprecated)`,
Required: false,
Deprecated: false,
Deprecated: true,
Positional: false,
},
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms, scw.RegionPlWaw),
Expand Down