README.md in mercenary-0.3.6 vs README.md in mercenary-0.4.0
- old
+ new
@@ -95,14 +95,13 @@
### `Command`
#### `#new`
-Create a new command. Accepts two arguments:
+Create a new command. Accepts one argument:
- `name` - the name of your command, as a symbol
-- `parent` - (optional) the parent Command
#### `#version`
Sets or gets the version of the command. Accepts an optional argument:
@@ -165,10 +164,10 @@
The class of the argument defaults to `String`, but you can optionally set a
different class to create, e.g. `Array`, if you are expecting a particular class
in your code from this option's value. The description is also optional, but
it's highly recommended to include a description.
-#### `#alias`
+#### `#alias`
Specifies an alias for this command such that the alias may be used in place of
the command during execution. Accepts one argument:
- `cmd_name` - the alias name for this command as a `Symbol`