From d29af0e3d7c2d0c2cedbdda7e8365be70d9d0c1f Mon Sep 17 00:00:00 2001 From: iff Date: Sun, 30 Jul 2023 20:22:49 +0200 Subject: [PATCH] update: README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9f92654..9c93e49 100644 --- a/README.md +++ b/README.md @@ -20,14 +20,14 @@ Syntax of a rule file (placed under [rules](./rules)): # this field should be the name of the command command = "world" -# you can add as much section of like this as you like +# you can add as much section of this as you like [[match_output]] # the suggestion of this section will be used for the following patterns of the command output pattern = [ "pattern 1", "pattern 2", ] -# this will keep the change the second argument to `fix` +# this will change the first argument to `fix`, while keeping the rest intact suggest = "{{command[0]}} fix {{command[2:]}}" [[match_output]] @@ -46,5 +46,5 @@ The placeholder is evaluated as following: ## Current Progress -Currently, only correction to `sudo` permission is implemented. +We need more rule files!