Skip to content

Commit f02c469

Browse files
authored
docs: fix snapshot -> subaccount (#1313)
Flag description had "Snapshot" instead of "Subaccount" in `hcloud storage-box subaccount update`
1 parent bbb9f9b commit f02c469

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/reference/manual/hcloud_storage-box_subaccount_update.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/cmd/storagebox/subaccount/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var UpdateCmd = base.UpdateCmd[*hcloud.StorageBoxSubaccount]{
3737
return s.Client().StorageBox().GetSubaccount(s, storageBox, subaccountIDOrName)
3838
},
3939
DefineFlags: func(cmd *cobra.Command) {
40-
cmd.Flags().String("description", "", "Description of the Storage Box Snapshot")
40+
cmd.Flags().String("description", "", "Description of the Storage Box Subaccount")
4141
cmd.MarkFlagsOneRequired("description")
4242
},
4343
Update: func(s state.State, cmd *cobra.Command, subaccount *hcloud.StorageBoxSubaccount, _ map[string]pflag.Value) error {

0 commit comments

Comments
 (0)