Commit fe1699f6 by Andrew Nesbitt

Merge pull request #484 from kevva/indent

Tweak CLI output indentation
parents 0f62c181 27e4f086
...@@ -11,15 +11,15 @@ function init(args) { ...@@ -11,15 +11,15 @@ function init(args) {
argv: args, argv: args,
pkg: '../package.json', pkg: '../package.json',
help: [ help: [
' Usage', 'Usage',
' node-sass [options] <input.scss> [output.css]', ' node-sass [options] <input.scss> [output.css]',
' cat <input.scss> | node-sass > output.css', ' cat <input.scss> | node-sass > output.css',
'', '',
' Example', 'Example',
' node-sass --output-style compressed foobar.scss foobar.css', ' node-sass --output-style compressed foobar.scss foobar.css',
' cat foobar.scss | node-sass --output-style compressed > foobar.css', ' cat foobar.scss | node-sass --output-style compressed > foobar.css',
'', '',
' Options', 'Options',
' -w, --watch Watch a directory or file', ' -w, --watch Watch a directory or file',
' -o, --output Output CSS file', ' -o, --output Output CSS file',
' -x, --omit-source-map-url Omit source map URL comment from output', ' -x, --omit-source-map-url Omit source map URL comment from output',
...@@ -147,7 +147,7 @@ module.exports = function(args) { ...@@ -147,7 +147,7 @@ module.exports = function(args) {
console.error([ console.error([
'Provide a sass file to render', 'Provide a sass file to render',
'', '',
' Example', 'Example',
' node-sass --output-style compressed foobar.scss foobar.css', ' node-sass --output-style compressed foobar.scss foobar.css',
' cat foobar.scss | node-sass --output-style compressed > foobar.css' ' cat foobar.scss | node-sass --output-style compressed > foobar.css'
].join('\n')); ].join('\n'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment