From e141dfb0326f0e321d2ab5e04726c3f7d8c469eb Mon Sep 17 00:00:00 2001 From: John Chinkes <24719595+chinkes5@users.noreply.github.com> Date: Mon, 28 Nov 2022 13:31:57 -0700 Subject: [PATCH] minor gramatical edits Your English is better than my Norwegian but hope you don't mind the corrections. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ae44c14..9c2136d 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ force the user to confirm the action before it is invoked. ## Validation and return values The goal of this module is neither. As a toolbuilder you are responsible for validating user -input when they invoke the ScriptBlock assosiated with the Menu-Item. Any output from the ScriptBlock +input when they invoke the ScriptBlock associated with the Menu-Item. Any output from the ScriptBlock will be written in the console. As you may know, a ScriptBlock may be a small script or a call to a cmdlet with parameters. I would suggest that you stick to calling custom or built-in cmdlets and design it using the best practice guides from Microsoft in regards to mandatory parameters etc. @@ -59,7 +59,7 @@ design it using the best practice guides from Microsoft in regards to mandatory ## Show-Menu This is the core cmdlet responsible for building the Menu and displaying it to the user. Executed -without parameters it will display the Main-Menu (remember you can only have one Main-Menu). Nevertheless +without parameters it will display the Main-Menu (remember you can only have one Main-Menu). Nevertheless, you may also use it to display Sub-Menus by specifying the parameter MenuId which is the index of the menu. Further you may also invoke a specific Menu-Item in a specific Menu by supplying InvokeItem and MenuId parameters. If the Menu-Item is defined to confirm with the user before invocation, it will prompt the user