diff --git a/librz/core/cmd_descs/cmd_descs.c b/librz/core/cmd_descs/cmd_descs.c index 744bd5f4570..a235723ce46 100644 --- a/librz/core/cmd_descs/cmd_descs.c +++ b/librz/core/cmd_descs/cmd_descs.c @@ -19195,7 +19195,7 @@ static const RzCmdDescHelp grep_help = { static const RzCmdDescDetailEntry specifiers_Table_space_format_space_specifiers_space__oparen__minor_table_spec_greater__cparen__detail_entries[] = { { .text = "/sort/", .arg_str = NULL, .comment = "Sort table by column in increasing or decreasing order." }, { .text = "/sortlen/", .arg_str = NULL, .comment = "Sort table length of column in increasing or decreasing order." }, - { .text = "/cols[/[/...]", .arg_str = NULL, .comment = "Show only specified columns in the table." }, + { .text = "/cols[/[/...]]", .arg_str = NULL, .comment = "Show only specified columns in the table." }, { .text = "", .arg_str = NULL, .comment = "Show only column (it must not have the same name as an output format specifier)." }, { .text = "/gt/", .arg_str = NULL, .comment = "Grep rows where column is greater than ." }, { .text = "/ge/", .arg_str = NULL, .comment = "Grep rows where column is greater than or equal to ." }, @@ -19236,7 +19236,7 @@ static const RzCmdDescDetail specifiers_details[] = { }; static const RzCmdDescHelp specifiers_help = { .summary = "Command specifiers (table-output only for now)", - .usage = "[:[::...]:]", + .usage = "[:[:...]][:]", .options = "[?]", .details = specifiers_details, }; diff --git a/librz/core/cmd_descs/cmd_descs.yaml b/librz/core/cmd_descs/cmd_descs.yaml index 5a0c71bc2d2..33ff3cfb56d 100644 --- a/librz/core/cmd_descs/cmd_descs.yaml +++ b/librz/core/cmd_descs/cmd_descs.yaml @@ -564,7 +564,7 @@ commands: options: "[?]" summary: Command specifiers (table-output only for now) type: RZ_CMD_DESC_TYPE_FAKE - usage: "[:[::...]:]" + usage: "[:[:...]][:]" details: - name: Table format specifiers () entries: @@ -572,7 +572,7 @@ commands: comment: Sort table by column in increasing or decreasing order. - text: "/sortlen/" comment: Sort table length of column in increasing or decreasing order. - - text: "/cols[/[/...]" + - text: "/cols[/[/...]]" comment: Show only specified columns in the table. - text: "" comment: Show only column (it must not have the same name as an output format specifier).