LibCore: Add support for short integral type to ArgsParser

This commit is contained in:
Fabian Dellwing 2023-04-27 12:55:55 +02:00 committed by Ali Mohammad Pur
parent 8f34478e75
commit f4ed9d5d83
Notes: sideshowbarker 2024-07-17 17:06:59 +09:00

View file

@ -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)
{