Change --emacs flag to --format emacs for RuboCop

The `--emacs` flag has been deprecated. Switch to specifying
`--format emacs` so that this doesn't break when RuboCop 1.0 is
released.
This commit is contained in:
Shane da Silva 2013-07-11 12:27:30 -07:00
parent 90259bde00
commit baa95470b6

View File

@ -25,7 +25,7 @@ endfunction
function! SyntaxCheckers_ruby_rubocop_GetLocList()
let makeprg = syntastic#makeprg#build({
\ 'exe': 'rubocop',
\ 'args': '--emacs --silent',
\ 'args': '--format emacs --silent',
\ 'filetype': 'ruby',
\ 'subchecker': 'rubocop' })