lint: regexp spaces
This commit is contained in:
parent
6ef1a2b97f
commit
2ca5128df5
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ var options = require('./options'),
|
|||
// litle hack to align long-only-options correctly
|
||||
var h = argv.getUsageInstance().help
|
||||
argv.getUsageInstance().help = ()=>{
|
||||
return h().replace(/^ --([^\s]*) (\s*)/gm, ' --$1$2')
|
||||
return h().replace(/^\s{2}--([^\s]*)\s{4}(\s*)/gm, ' --$1$2')
|
||||
}
|
||||
|
||||
argv = argv.argv
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue