lib/scss_lint/options.rb in scss_lint-0.42.2 vs lib/scss_lint/options.rb in scss_lint-0.43.0

- old
+ new

@@ -75,9 +75,14 @@ parser.on('-e', '--exclude file,...', Array, 'List of file names to exclude') do |files| @options[:excluded_files] = files end + parser.on('--stdin-file-path file-path', String, + 'Specify the path to assume for the file passed via STDIN') do |stdin_file_path| + @options[:stdin_file_path] = stdin_file_path + end + parser.on('-o', '--out path', 'Write output to a file instead of STDOUT', String) do |path| define_output_path(path) end end