diff options
author | Fabian Dellwing <fabian.dellwing@gmail.com> | 2023-04-27 12:55:55 +0200 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2023-04-30 21:12:46 +0330 |
commit | f4ed9d5d83fc1a468d67032589fb1b00399eaa22 (patch) | |
tree | 3275ed793967e3807dc456b98927969f735a9cd5 | |
parent | 8f34478e7505fd5991aeda201ba4952c1639a4d3 (diff) | |
download | serenity-f4ed9d5d83fc1a468d67032589fb1b00399eaa22.zip |
LibCore: Add support for short integral type to ArgsParser
-rw-r--r-- | Userland/Libraries/LibCore/ArgsParser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCore/ArgsParser.cpp b/Userland/Libraries/LibCore/ArgsParser.cpp index f1eed2dc85..da6d9ead75 100644 --- a/Userland/Libraries/LibCore/ArgsParser.cpp +++ b/Userland/Libraries/LibCore/ArgsParser.cpp @@ -473,9 +473,11 @@ void ArgsParser::add_option(I& value, char const* help_string, char const* long_ template void ArgsParser::add_option(int&, char const*, char const*, char, char const*, OptionHideMode); template void ArgsParser::add_option(long&, char const*, char const*, char, char const*, OptionHideMode); template void ArgsParser::add_option(long long&, char const*, char const*, char, char const*, OptionHideMode); +template void ArgsParser::add_option(short&, char const*, char const*, char, char const*, OptionHideMode); template void ArgsParser::add_option(unsigned&, char const*, char const*, char, char const*, OptionHideMode); template void ArgsParser::add_option(unsigned long&, char const*, char const*, char, char const*, OptionHideMode); template void ArgsParser::add_option(unsigned long long&, char const*, char const*, char, char const*, OptionHideMode); +template void ArgsParser::add_option(unsigned short&, char const*, char const*, char, char const*, OptionHideMode); void ArgsParser::add_option(double& value, char const* help_string, char const* long_name, char short_name, char const* value_name, OptionHideMode hide_mode) { |