mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
Userland: Convert command line arguments to String/StringView
StringView was used where possible. Some utilities still use libc functions which expect null-terminated strings, so String objects were used there instead.
This commit is contained in:
parent
fded8f861d
commit
60f6bc902b
Notes:
sideshowbarker
2024-07-18 05:01:22 +09:00
Author: https://github.com/sin-ack
Commit: 60f6bc902b
Pull-request: https://github.com/SerenityOS/serenity/pull/14555
Reviewed-by: https://github.com/Dexesttp ✅
Reviewed-by: https://github.com/kleinesfilmroellchen
25 changed files with 101 additions and 100 deletions
|
@ -16,7 +16,7 @@
|
|||
|
||||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
{
|
||||
char const* zip_path;
|
||||
StringView zip_path;
|
||||
Vector<StringView> source_paths;
|
||||
bool recurse = false;
|
||||
bool force = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue