Fix trace and silent

This commit is contained in:
Vadim Vetrov
2025-01-07 13:49:59 +03:00
parent 13fbd7b45b
commit 3e676f9e25

View File

@@ -216,11 +216,11 @@ return view.extend({
o = s.option(form.Flag, "silent", _("Silent"), _("Disables verbose mode")); o = s.option(form.Flag, "silent", _("Silent"), _("Disables verbose mode"));
o.defalt = "0" o.defalt = "0"
o.depends("trace", "0"); o.depends({"trace": "1", "!reverse": true});
o = s.option(form.Flag, "trace", _("Trace"), _("Maximum verbosity for debug purposes")); o = s.option(form.Flag, "trace", _("Trace"), _("Maximum verbosity for debug purposes"));
o.defalt = "0" o.defalt = "0"
o.depends("silent", "0"); o.depends({"silent": "1", "!reverse": true});
o = s.option(form.Flag, "no_gso", _("No gso"), _("Disables support for Google Chrome fat packets which uses GSO. This feature is well tested now, so this flag probably won't fix anything.")); o = s.option(form.Flag, "no_gso", _("No gso"), _("Disables support for Google Chrome fat packets which uses GSO. This feature is well tested now, so this flag probably won't fix anything."));