doc: Fix s3 bulk-delete help + update docs

Signed-off-by: Arthur Amstutz <arthur.amstutz@corp.ovh.com>
This commit is contained in:
Arthur Amstutz 2025-10-13 08:33:41 +00:00
parent 1cabe6c5d8
commit 5cbfefdff8
No known key found for this signature in database
GPG key ID: F3C6FC59C43A6EF6
7 changed files with 11 additions and 7 deletions

View file

@ -3,7 +3,7 @@
Bulk delete objects in the given storage container
```
ovhcloud cloud storage-s3 bulk-delete [flags]
ovhcloud cloud storage-s3 bulk-delete <container_name> [flags]
```
### Options

View file

@ -31,6 +31,6 @@ Retrieve information and manage your domain zones
* [ovhcloud](ovhcloud.md) - CLI to manage your OVHcloud services
* [ovhcloud domain-zone get](ovhcloud_domain-zone_get.md) - Retrieve information of a specific domain zone
* [ovhcloud domain-zone list](ovhcloud_domain-zone_list.md) - List your domain zones
* [ovhcloud domain-zone record](ovhcloud_domain-zone_record.md) - Retrieve information and manage your DNS record within a zone
* [ovhcloud domain-zone record](ovhcloud_domain-zone_record.md) - Retrieve information and manage your DNS records within a zone
* [ovhcloud domain-zone refresh](ovhcloud_domain-zone_refresh.md) - Refresh the given zone

View file

@ -1,6 +1,6 @@
## ovhcloud domain-zone record
Retrieve information and manage your DNS record within a zone
Retrieve information and manage your DNS records within a zone
### Options

View file

@ -32,5 +32,5 @@ ovhcloud domain-zone record get <zone_name> <record_id> [flags]
### SEE ALSO
* [ovhcloud domain-zone record](ovhcloud_domain-zone_record.md) - Retrieve information and manage your DNS record within a zone
* [ovhcloud domain-zone record](ovhcloud_domain-zone_record.md) - Retrieve information and manage your DNS records within a zone

View file

@ -9,7 +9,11 @@ ovhcloud domain-zone record update <zone_name> <record_id> [flags]
### Options
```
--editor Use a text editor to define parameters
--from-file string File containing parameters
-h, --help help for update
--init-file string Create a file with example parameters
--replace Replace parameters file if it already exists
--subdomain string Subdomain to update
--target string New target to apply
--ttl int New TTL to apply
@ -35,5 +39,5 @@ ovhcloud domain-zone record update <zone_name> <record_id> [flags]
### SEE ALSO
* [ovhcloud domain-zone record](ovhcloud_domain-zone_record.md) - Retrieve information and manage your DNS record within a zone
* [ovhcloud domain-zone record](ovhcloud_domain-zone_record.md) - Retrieve information and manage your DNS records within a zone

View file

@ -60,7 +60,7 @@ func initCloudStorageS3Command(cloudCmd *cobra.Command) {
// Bulk-delete command
bulkDeleteCmd := &cobra.Command{
Use: "bulk-delete",
Use: "bulk-delete <container_name>",
Short: "Bulk delete objects in the given storage container",
Run: cloud.StorageS3BulkDeleteObjects,
Args: cobra.ExactArgs(1),

View file

@ -265,7 +265,7 @@ func StorageS3BulkDeleteObjects(_ *cobra.Command, args []string) {
}
if len(StorageS3ObjectsToDelete) == 0 {
display.OutputWarning(&flags.OutputFormatConfig, "no objects to delete. Use --object flag to specify objects to delete")
display.OutputWarning(&flags.OutputFormatConfig, "no objects to delete. Use --objects flag to specify objects to delete")
return
}