Commit 27e4f086 by Kevin Martensson

Tweak CLI output indentation

parent 0f62c181
...@@ -11,27 +11,27 @@ function init(args) { ...@@ -11,27 +11,27 @@ 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',
' -i, --indented-syntax Treat data from stdin as sass code (versus scss)', ' -i, --indented-syntax Treat data from stdin as sass code (versus scss)',
' --output-style CSS output style (nested|expanded|compact|compressed)', ' --output-style CSS output style (nested|expanded|compact|compressed)',
' --source-comments Include debug info in output (none|normal|map)', ' --source-comments Include debug info in output (none|normal|map)',
' --source-map Emit source map', ' --source-map Emit source map',
' --include-path Path to look for imported files', ' --include-path Path to look for imported files',
' --image-path Path to prepend when using the `image-url()` helper', ' --image-path Path to prepend when using the `image-url()` helper',
' --precision The amount of precision allowed in decimal numbers', ' --precision The amount of precision allowed in decimal numbers',
' --stdout Print the resulting CSS to stdout', ' --stdout Print the resulting CSS to stdout',
' --help Print usage info' ' --help Print usage info'
].join('\n') ].join('\n')
}, { }, {
boolean: [ boolean: [
...@@ -147,9 +147,9 @@ module.exports = function(args) { ...@@ -147,9 +147,9 @@ 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'));
process.exit(1); process.exit(1);
} }
......
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