summaryrefslogtreecommitdiff
path: root/Applications/Browser/main.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-25 23:50:35 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-26 00:53:25 +0200
commit6293d1a13c987bcaaa95e316899fa8097cd45e80 (patch)
tree6778bc4e25a2f7ac885cd705c2e3ce7d62d80a44 /Applications/Browser/main.cpp
parent6c783dbf625149fc5e8a69c51283d082b6787a68 (diff)
downloadserenity-6293d1a13c987bcaaa95e316899fa8097cd45e80.zip
LibWeb+Browser: Remove old HTML parser :^)
The new parser is now used everywhere and it's working pretty well!
Diffstat (limited to 'Applications/Browser/main.cpp')
-rw-r--r--Applications/Browser/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Applications/Browser/main.cpp b/Applications/Browser/main.cpp
index 9982276ebf..cfe6f3e202 100644
--- a/Applications/Browser/main.cpp
+++ b/Applications/Browser/main.cpp
@@ -46,7 +46,6 @@ namespace Browser {
static const char* bookmarks_filename = "/home/anon/bookmarks.json";
String g_home_url;
-bool g_use_old_html_parser = false;
URL url_from_user_input(const String& input);
}
@@ -66,7 +65,6 @@ int main(int argc, char** argv)
const char* specified_url = nullptr;
Core::ArgsParser args_parser;
- args_parser.add_option(Browser::g_use_old_html_parser, "Use old HTML parser", "old-parser", 'O');
args_parser.add_positional_argument(specified_url, "URL to open", "url", Core::ArgsParser::Required::No);
args_parser.parse(argc, argv);