From eb4beb500d73977c798817d6f938e05903f5afa8 Mon Sep 17 00:00:00 2001 From: David Castelletti Date: Tue, 26 May 2020 17:54:45 +0200 Subject: [PATCH] Fix typos in Commands section of docs (#184) --- docs/commands.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/commands.md b/docs/commands.md index 4972726d8..d493f8681 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -90,7 +90,7 @@ Commands: When calling subcommands, the position of options and arguments on the command line affect which command will parse them. A parameter is parsed -by a command if is occurs after the command name, but before any other +by a command if it occurs after the command name, but before any other command names. ```kotlin tab="Example" @@ -147,7 +147,7 @@ easier, but what if you want to pass information to a child command? You can do so with the command's [`Context`][Context]. Every time the command line is parsed, each command creates a new -context object for itself that is liked to its parent's context. +context object for itself that is linked to its parent's context. `Context` objects have a number of properties that can be used to customize command line parsing. Although each command creates its own context, the configuration is inherited from the parent context.