Ali Mohammad Pur
db886fe18b
Userland+AK: Stop using getopt() for ArgsParser
...
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.
2023-02-28 15:52:24 +03:30
..
2023-02-13 00:50:07 +00:00
2022-10-10 12:23:12 +02:00
2022-12-06 08:54:33 +01:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-01-08 15:19:59 +00:00
2022-12-06 08:54:33 +01:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-01-08 19:02:50 +01:00
2022-07-25 15:32:46 +02:00
2022-12-06 08:54:33 +01:00
2023-02-13 00:50:07 +00:00
2023-02-26 10:54:23 +03:30
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2022-12-06 08:54:33 +01:00
2023-02-13 00:50:07 +00:00
2023-02-28 15:52:24 +03:30
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-28 15:52:24 +03:30
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-07 14:51:04 +01:00
2023-02-13 00:50:07 +00:00
2023-02-28 15:52:24 +03:30
2023-01-27 20:38:49 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-27 20:38:49 +00:00
2023-02-19 13:49:07 +01:00
2023-02-27 15:18:55 +01:00
2022-12-06 08:54:33 +01:00
2023-01-02 20:27:20 -05:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-28 15:52:24 +03:30
2023-02-28 15:52:24 +03:30
2023-02-13 00:50:07 +00:00
2022-12-06 08:54:33 +01:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2022-12-06 08:54:33 +01:00
2023-02-28 12:21:56 +01:00
2023-02-13 00:50:07 +00:00
2022-12-06 08:54:33 +01:00
2023-02-19 23:46:36 +01:00
2022-12-06 08:54:33 +01:00
2023-02-13 00:50:07 +00:00
2023-01-26 20:24:37 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2022-11-26 01:47:50 -07:00
2022-11-05 18:00:58 -06:00
2023-02-21 10:57:44 +01:00
2023-02-13 00:50:07 +00:00
2023-02-24 20:35:45 +01:00
2023-02-10 09:08:52 +00:00
2022-12-06 08:54:33 +01:00
2022-12-10 11:49:24 +00:00
2023-02-13 00:50:07 +00:00
2023-01-27 20:38:49 +00:00
2023-02-10 09:08:52 +00:00
2023-01-13 13:41:30 +01:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-25 20:51:49 +01:00
2023-02-13 00:50:07 +00:00
2023-02-10 09:08:52 +00:00
2023-02-13 00:50:07 +00:00
2023-01-27 20:38:49 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-02-28 15:52:24 +03:30
2023-02-28 15:52:24 +03:30
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-28 15:52:24 +03:30
2023-02-13 00:50:07 +00:00
2023-01-26 20:24:37 +00:00
2023-02-13 00:50:07 +00:00
2022-12-20 11:04:05 +01:00
2023-02-13 00:50:07 +00:00
2023-01-08 17:10:53 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-10 11:49:24 +00:00
2023-02-28 15:52:24 +03:30
2022-12-10 11:49:24 +00:00
2023-02-13 00:50:07 +00:00
2022-11-05 18:00:58 -06:00
2023-02-13 00:50:07 +00:00
2023-01-02 20:27:20 -05:00
2023-01-27 20:38:49 +00:00
2023-02-28 15:52:24 +03:30
2023-02-28 15:52:24 +03:30
2022-12-10 11:49:24 +00:00
2022-12-06 08:54:33 +01:00
2023-02-28 15:52:24 +03:30
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2022-12-06 08:54:33 +01:00
2023-02-28 15:52:24 +03:30
2022-12-06 08:54:33 +01:00
2023-02-13 00:50:07 +00:00
2023-02-28 15:52:24 +03:30
2023-02-13 00:50:07 +00:00
2022-12-06 08:54:33 +01:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2022-12-06 08:54:33 +01:00
2023-02-13 00:50:07 +00:00
2023-02-28 15:52:24 +03:30
2023-01-02 20:08:35 +00:00
2023-02-16 12:52:11 +00:00
2023-02-28 15:52:24 +03:30
2023-02-28 15:52:24 +03:30
2022-12-06 08:54:33 +01:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2022-12-06 08:54:33 +01:00
2023-02-28 15:52:24 +03:30
2023-02-13 00:50:07 +00:00
2022-12-03 23:52:23 +00:00
2023-02-28 15:52:24 +03:30
2022-12-06 08:54:33 +01:00
2023-02-28 15:52:24 +03:30
2023-02-13 00:50:07 +00:00
2023-02-28 15:52:24 +03:30
2022-12-06 08:54:33 +01:00
2023-01-27 20:38:49 +00:00
2023-02-28 15:52:24 +03:30
2023-02-21 22:13:06 +01:00
2023-02-28 15:52:24 +03:30
2023-02-28 15:52:24 +03:30
2022-12-06 08:54:33 +01:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2022-12-06 08:54:33 +01:00
2023-02-13 00:50:07 +00:00
2023-02-25 22:31:17 +01:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-01-26 20:24:37 +00:00
2023-02-28 15:52:24 +03:30
2023-02-13 00:50:07 +00:00
2022-12-06 08:54:33 +01:00
2023-02-13 00:50:07 +00:00
2022-12-06 08:54:33 +01:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00