mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 09:35:59 -04:00
cli: remove shortcut bits in sniffCommand
This commit is contained in:
@@ -310,11 +310,7 @@ pub fn Builder(comptime commands: anytype) type {
|
||||
// Serve heuristics.
|
||||
inline for (.{
|
||||
"--host",
|
||||
"-h",
|
||||
"-H",
|
||||
"--port",
|
||||
"-p",
|
||||
"-P",
|
||||
"--timeout",
|
||||
}) |heuristic| {
|
||||
if (std.mem.eql(u8, cmd_str, heuristic)) {
|
||||
|
||||
Reference in New Issue
Block a user