You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How do you turn off auto-delete for primary-ip with cli? #984
I cant figure out how to turn off auto-delete of a primary ip. I could not discover it with the --help flag. i found something under hcloud primary-ip update that related to that setting but i couldn't turn it off by omitting the flag.
Ok, looks good. But I would suggest to add some kind of bool hint <true|false> to the cli help
Update a Primary IP
Usage:
hcloud primary-ip update [options] <primary-ip>
Flags:
--auto-delete Delete this Primary IP when the resource it is assigned to is deleted
-h, --help help for update
--name string Primary IP name
Activity
jooola commentedon Feb 14, 2025
Using the latest version of the CLI, you should be able to run the following:
einarpersson commentedon Feb 14, 2025
Ok, looks good. But I would suggest to add some kind of bool hint
<true|false>to the cli helpgithub-actions commentedon May 15, 2025
This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.
jooola commentedon May 21, 2025
@phm07 Is there a way to improve the help pages as @einarpersson suggested?
phm07 commentedon May 23, 2025
Yes, we could add
(true, false)to the short text for bool options to make clear that they are booleansdocs: make boolean values clear in help texts (#1062)