diff --git a/README.asciidoc b/README.asciidoc index be3211dc4..8aae70fb4 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -231,6 +231,7 @@ Contributors, sorted by the number of commits in descending order: * Ismail * Edgar Hipp * Daryl Finlay +* pkill9 * arza * adam * Samir Benmendil @@ -244,7 +245,6 @@ Contributors, sorted by the number of commits in descending order: * zwarag * xd1le * rmortens -* pkill9 * oniondreams * issue * haxwithaxe diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 1885d227a..77d7026c8 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -465,14 +465,15 @@ Note: Due a bug in Qt, the inspector will show incorrect request headers in the [[jseval]] === jseval -Syntax: +:jseval [*--quiet*] [*--world* 'world'] 'js-code'+ +Syntax: +:jseval [*--file*] [*--quiet*] [*--world* 'world'] 'js-code'+ Evaluate a JavaScript string. ==== positional arguments -* +'js-code'+: The string to evaluate. +* +'js-code'+: The string/file to evaluate. ==== optional arguments +* +*-f*+, +*--file*+: Interpret js-code as a path to a file. * +*-q*+, +*--quiet*+: Don't show resulting JS object. * +*-w*+, +*--world*+: Ignored on QtWebKit. On QtWebEngine, a world ID or name to run the snippet in.