cmd: update to use new object system

This commit is contained in:
2025-10-19 21:02:12 +01:00
parent fd04a49d84
commit 34c54eb545
7 changed files with 36 additions and 41 deletions

View File

@@ -146,8 +146,7 @@ void z__b_get_option_description(struct b_command_option *opt, b_string *out)
}
void z__b_get_option_usage_string(
struct b_command_option *opt, enum cmd_string_flags flags,
struct b_string *out)
struct b_command_option *opt, enum cmd_string_flags flags, b_string *out)
{
if (flags & CMD_STR_DIRECT_USAGE) {
b_string_append_cstr(out, "{");