diff options
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -141,8 +141,8 @@ try clap.help( | |||
| 141 | The `help` function is the simplest to call. It only takes an `OutStream` and a slice of | 141 | The `help` function is the simplest to call. It only takes an `OutStream` and a slice of |
| 142 | `Param([]const u8)`. This function assumes that the id of each parameter is the help message. | 142 | `Param([]const u8)`. This function assumes that the id of each parameter is the help message. |
| 143 | 143 | ||
| 144 | The `clap.helpEx` is the generic version of `help`. It can print a help message for any | 144 | The `helpEx` is the generic version of `help`. It can print a help message for any |
| 145 | `Param`, but requires some extra arguments for it to work. | 145 | `Param`, but requires some extra arguments to work. |
| 146 | 146 | ||
| 147 | ```rust | 147 | ```rust |
| 148 | fn getHelp(_: void, param: clap.Param(u8)) error{}![]const u8 { | 148 | fn getHelp(_: void, param: clap.Param(u8)) error{}![]const u8 { |