diff --git a/README.md b/README.md index fc482a9..109e171 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Where: ### Flags * `-1`, `--first-only`: Return only the first match -* `-q`, `--quiet`: Don't print warnings +* `-e`, `--errors`: print warnings * `-t`, `--text`: Print only the [innerText](https://developer.mozilla.org/fr/docs/Web/API/HTMLElement/innerText) of the matched elements ## Motivation diff --git a/main.lua b/main.lua index cdb0338..e3432ed 100644 --- a/main.lua +++ b/main.lua @@ -22,7 +22,7 @@ local function print_usage() logger.print() logger.print(" Flags:") logger.print(" -1, --first-only: return only the first match") - logger.print(" -q, --quiet: Don't print warnings") + logger.print(" -e, --errors: print warnings") logger.print(" -t, --text: Print only the innerText of the matched elements") os.exit(1) end