Browse Source

Update docs/guides/commands/namedarguments.md

Co-Authored-By: Chris Johnston <chris@thejohnstons.net>
pull/1437/head
Still Hsu GitHub 5 years ago
parent
commit
590fca0379
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/guides/commands/namedarguments.md

+ 1
- 1
docs/guides/commands/namedarguments.md View File

@@ -39,7 +39,7 @@ The command where you want to use these values can be declared like so:
public async Task Act(int requiredArg, NamableArguments namedArgs) public async Task Act(int requiredArg, NamableArguments namedArgs)
``` ```


The command can now be invoked as
The command can now be invoked with
`.act 42 first: Hello fourth: "A string with spaces must be wrapped in quotes" second: World`. `.act 42 first: Hello fourth: "A string with spaces must be wrapped in quotes" second: World`.


A TypeReader for the named arguments container type is A TypeReader for the named arguments container type is


Loading…
Cancel
Save