mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 19:15:08 +00:00
![]() This commit moves the implementation of getopt into AK, and converts its API to understand and use StringView instead of char*. Everything else is caught in the crossfire of making Option::accept_value() take a StringView instead of a char const*. With this, we must now pass a Span<StringView> to ArgsParser::parse(), applications using LibMain are unaffected, but anything not using that or taking its own argc/argv has to construct a Vector<StringView> for this method. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
GeneratePnpIDs.cpp |