mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:17:46 +00:00
pro: Add header format to argument help
This commit is contained in:
parent
ca134e8bfa
commit
d2171abb2c
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
.help_string = "Add a header entry to the request",
|
||||
.long_name = "header",
|
||||
.short_name = 'H',
|
||||
.value_name = "header-value",
|
||||
.value_name = "key:value",
|
||||
.accept_value = [&](auto* s) {
|
||||
StringView header { s, strlen(s) };
|
||||
auto split = header.find(':');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue