From dfad0a3a7025dc7a7c5774870cc22e2487b80d98 Mon Sep 17 00:00:00 2001 From: Augusto Date: Wed, 1 Apr 2020 19:23:20 +0100 Subject: [PATCH] Fix explanation of the flags --- rc/rc.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rc/rc.go b/rc/rc.go index 08234d71..2af455dc 100644 --- a/rc/rc.go +++ b/rc/rc.go @@ -512,15 +512,15 @@ func createChildScope( } func init() { - flag.Var(&noTheseArrays, "no-these-arrays", "unallowes the array types passed in the flag") + flag.Var(&noTheseArrays, "no-these-arrays", "Disallowes the array types passed in the flag as a list separeted by comma with out spaces\nLike so: -no-these-arrays=int,string,bool") flag.Var(&noLit, "no-lit", `The use of string literals matching the pattern --no-lit="{PATTERN}"`+ `passed to the program would not be allowed`, ) - flag.BoolVar(&noRelativeImports, "no-relative-imports", false, `No disallowes the use of relative imports`) + flag.BoolVar(&noRelativeImports, "no-relative-imports", false, `Disallowes the use of relative imports`) flag.BoolVar(&noFor, "no-for", false, `The "for" instruction is not allowed`) - flag.BoolVar(&casting, "cast", false, "allowes casting") - flag.BoolVar(&noArrays, "no-arrays", false, "unallowes the array types passed in the flag") + flag.BoolVar(&casting, "cast", false, "Allowes casting") + flag.BoolVar(&noArrays, "no-arrays", false, "Disallowes all array types") flag.BoolVar(&allowBuiltin, "allow-builtin", false, "Allowes all builtin functions and casting") }