@@ -31,24 +31,24 @@ const binname = Object.keys(pkg.bin)[0];
3131const options = { } ;
3232
3333function showHelp ( ) {
34- console . log ( `Usage: ${ binname } [options] INPUT [OUTPUT]` ) ;
35- console . log ( "" ) ;
36- console . log ( " Description:" ) ;
37- console . log ( ` ${ pkg . description } ` ) ;
38- console . log ( "" ) ;
39- console . log ( " Options:" ) ;
40- console . log ( " --sourcemap Create source map file." ) ;
41- console . log ( " --preserve-hacks Preserve some CSS hacks." ) ;
42- console . log ( " --remove-all-comments Remove all comments." ) ;
43- console . log ( " -h, --help Show this message." ) ;
44- console . log ( " -v, --version Print version information." ) ;
45- console . log ( "" ) ;
46- console . log ( " Use a single dash for INPUT to read CSS from standard input." ) ;
47- console . log ( "" ) ;
48- console . log ( " Examples:" ) ;
49- console . log ( ` $ ${ binname } foo.css` ) ;
50- console . log ( ` $ ${ binname } foo.css > foo.min.css` ) ;
51- console . log ( ` $ cat foo.css bar.css baz.css | ${ binname } - > fbb.min.css`) ;
34+ console . log ( `Usage: ${ binname } [options] INPUT [OUTPUT]
35+
36+ Description:
37+ ${ pkg . description }
38+
39+ Options:
40+ --sourcemap Create source map file.
41+ --preserve-hacks Preserve some CSS hacks.
42+ --remove-all-comments Remove all comments.
43+ -h, --help Show this message.
44+ -v, --version Print version information.
45+
46+ Use a single dash for INPUT to read CSS from standard input.
47+
48+ Examples:
49+ $ ${ binname } foo.css
50+ $ ${ binname } foo.css > foo.min.css
51+ $ cat foo.css bar.css baz.css | ${ binname } - > fbb.min.css` ) ;
5252
5353 return ;
5454}
0 commit comments