Skip to content

Commit

Permalink
Revert docs change moved to tj#1925 to unclutter PR file changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aweebit committed Aug 4, 2023
1 parent adde7ff commit 8ca1459
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,6 @@ subcommand is specified ([example](./examples/defaultCommand.js)).

You can add alternative names for a command with `.alias()`. ([example](./examples/alias.js))

`.command()` automatically copies the inherited settings from the parent command to the newly created subcommand. This is only done during creation, any later setting changes to the parent are not inherited.

For safety, `.addCommand()` does not automatically copy the inherited settings from the parent command. There is a helper routine `.copyInheritedSettings()` for copying the settings when they are wanted.

### Command-arguments
Expand Down

0 comments on commit 8ca1459

Please sign in to comment.