Skip to content

Commit

Permalink
Merge pull request #366 from zhiyelee/typo
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
zhiyelee committed Mar 9, 2015
2 parents 0109a44 + ec1dbbb commit 481e943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ program
```

When `.command()` is invoked with a description argument, no `.action(callback)` should be called to handle sub-commands, otherwise there will be an error. This tells commander that you're going to use separate executables for sub-commands, much like `git(1)` and other popular tools.
The commander will try to search the executables in the directory of the entry script(like `./examples/pm`) with the name `program-command`, like `pm-install`, `pm-search`.
The commander will try to search the executables in the directory of the entry script (like `./examples/pm`) with the name `program-command`, like `pm-install`, `pm-search`.

If the program is designed to installed globally, make sure the executables have proper modes, like `755`.

Expand Down Expand Up @@ -303,7 +303,7 @@ program
program.parse(process.argv);
```

You can see more Demos in the [examples](https://github.com/tj/commander.js/tree/master/examples) directory.
More Demos can be found in the [examples](https://github.com/tj/commander.js/tree/master/examples) directory.

## License

Expand Down

0 comments on commit 481e943

Please sign in to comment.