Skip to content

Commit e72b50e

Browse files
committed
Merge pull request #67 from igorshubovych/add-docs
Add documentation in README and CLI to --list and --list-all options
2 parents 96c9549 + 35126a0 commit e72b50e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ To see tldr pages:
2222

2323
- `tldr <command>` show examples for this command
2424
- `tldr <command> --os=linux` show page for Linux version of this command
25-
- `tldr --list` show all available pages
25+
- `tldr --list` show all pages for current platform
26+
- `tldr --list-all` show all available pages
2627
- `tldr --random` show a page at random
2728
- `tldr --random-example` show a single random example
2829

bin/tldr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ program.on('--help', function() {
3030
console.log(' $ tldr tar');
3131
console.log(' $ tldr du --os=linux');
3232
console.log(' $ tldr --list');
33+
console.log(' $ tldr --list-all');
3334
console.log(' $ tldr --random');
3435
console.log(' $ tldr --random-example');
3536
console.log('');

0 commit comments

Comments
 (0)