Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 056c26c

Browse files
Uses 120-column.
Signed-off-by: Eric Wang <skygragon@gmail.com>
1 parent 83ed41d commit 056c26c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎lib/cli.js‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,11 @@ cli.run = function() {
6868
if (e.code === 'EPIPE') process.exit();
6969
});
7070

71-
require('yargs')
72-
.commandDir('commands')
71+
varyargs=require('yargs');
72+
yargs.commandDir('commands')
7373
.completion()
7474
.help()
75+
.wrap(Math.min(yargs.terminalWidth(), 120))
7576
.argv;
7677
};
7778

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /