Skip to content

Commit

Permalink
Small README improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed May 9, 2021
1 parent 712697e commit 4757b94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Readme.md
Expand Up @@ -26,7 +26,7 @@ Read this in other languages: English | [简体中文](./Readme_zh-CN.md)
- [Custom argument processing](#custom-argument-processing)
- [Action handler](#action-handler)
- [Stand-alone executable (sub)commands](#stand-alone-executable-subcommands)
- [Life cycle hooks](#life-cycle-hooks)
- [Life cycle hooks](#life-cycle-hooks)
- [Automated help](#automated-help)
- [Custom help](#custom-help)
- [Display help from code](#display-help-from-code)
Expand Down Expand Up @@ -555,11 +555,11 @@ program.parse(process.argv);
If the program is designed to be installed globally, make sure the executables have proper modes, like `755`.
## Life cycle hooks
### Life cycle hooks
You can add callback hooks to a command for life cycle events.
Example file: [hook](./examples/hook.js)
Example file: [hook.js](./examples/hook.js)
```js
program
Expand Down

0 comments on commit 4757b94

Please sign in to comment.