Skip to content

Commit 242c591

Browse files
Refactor version and help option display
1 parent 1947f11 commit 242c591

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/tldr

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ const { TldrError } = require('../lib/errors');
1111
pkg.version = `v${pkg.version}\nClient Specification: 2.0`;
1212

1313
program
14-
.version(pkg.version, '-v, --version', 'Display version')
15-
.helpOption('-h, --help', 'Show this help message')
14+
.version(pkg.version)
1615
.description(pkg.description)
1716
.usage('command [options]')
1817
//

0 commit comments

Comments
 (0)