Skip to content

Commit 5cbfefd

Browse files
committed
doc: Fix s3 bulk-delete help + update docs
Signed-off-by: Arthur Amstutz <arthur.amstutz@corp.ovh.com>
1 parent 1cabe6c commit 5cbfefd

File tree

7 files changed

+11
-7
lines changed

7 files changed

+11
-7
lines changed

doc/ovhcloud_cloud_storage-s3_bulk-delete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Bulk delete objects in the given storage container
44

55
```
6-
ovhcloud cloud storage-s3 bulk-delete [flags]
6+
ovhcloud cloud storage-s3 bulk-delete <container_name> [flags]
77
```
88

99
### Options

doc/ovhcloud_domain-zone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ Retrieve information and manage your domain zones
3131
* [ovhcloud](ovhcloud.md) - CLI to manage your OVHcloud services
3232
* [ovhcloud domain-zone get](ovhcloud_domain-zone_get.md) - Retrieve information of a specific domain zone
3333
* [ovhcloud domain-zone list](ovhcloud_domain-zone_list.md) - List your domain zones
34-
* [ovhcloud domain-zone record](ovhcloud_domain-zone_record.md) - Retrieve information and manage your DNS record within a zone
34+
* [ovhcloud domain-zone record](ovhcloud_domain-zone_record.md) - Retrieve information and manage your DNS records within a zone
3535
* [ovhcloud domain-zone refresh](ovhcloud_domain-zone_refresh.md) - Refresh the given zone
3636

doc/ovhcloud_domain-zone_record.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## ovhcloud domain-zone record
22

3-
Retrieve information and manage your DNS record within a zone
3+
Retrieve information and manage your DNS records within a zone
44

55
### Options
66

doc/ovhcloud_domain-zone_record_get.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ ovhcloud domain-zone record get <zone_name> <record_id> [flags]
3232

3333
### SEE ALSO
3434

35-
* [ovhcloud domain-zone record](ovhcloud_domain-zone_record.md) - Retrieve information and manage your DNS record within a zone
35+
* [ovhcloud domain-zone record](ovhcloud_domain-zone_record.md) - Retrieve information and manage your DNS records within a zone
3636

doc/ovhcloud_domain-zone_record_update.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ ovhcloud domain-zone record update <zone_name> <record_id> [flags]
99
### Options
1010

1111
```
12+
--editor Use a text editor to define parameters
13+
--from-file string File containing parameters
1214
-h, --help help for update
15+
--init-file string Create a file with example parameters
16+
--replace Replace parameters file if it already exists
1317
--subdomain string Subdomain to update
1418
--target string New target to apply
1519
--ttl int New TTL to apply
@@ -35,5 +39,5 @@ ovhcloud domain-zone record update <zone_name> <record_id> [flags]
3539

3640
### SEE ALSO
3741

38-
* [ovhcloud domain-zone record](ovhcloud_domain-zone_record.md) - Retrieve information and manage your DNS record within a zone
42+
* [ovhcloud domain-zone record](ovhcloud_domain-zone_record.md) - Retrieve information and manage your DNS records within a zone
3943

internal/cmd/cloud_storage_s3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func initCloudStorageS3Command(cloudCmd *cobra.Command) {
6060

6161
// Bulk-delete command
6262
bulkDeleteCmd := &cobra.Command{
63-
Use: "bulk-delete",
63+
Use: "bulk-delete <container_name>",
6464
Short: "Bulk delete objects in the given storage container",
6565
Run: cloud.StorageS3BulkDeleteObjects,
6666
Args: cobra.ExactArgs(1),

internal/services/cloud/cloud_storage_s3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ func StorageS3BulkDeleteObjects(_ *cobra.Command, args []string) {
265265
}
266266

267267
if len(StorageS3ObjectsToDelete) == 0 {
268-
display.OutputWarning(&flags.OutputFormatConfig, "no objects to delete. Use --object flag to specify objects to delete")
268+
display.OutputWarning(&flags.OutputFormatConfig, "no objects to delete. Use --objects flag to specify objects to delete")
269269
return
270270
}
271271

0 commit comments

Comments
 (0)