mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-22 12:58:33 +00:00
Fix the cpp11 rule
This commit is contained in:
parent
280751b36e
commit
2d995d464f
@ -1,7 +1,7 @@
|
|||||||
from thefuck.utils import for_app
|
from thefuck.utils import for_app
|
||||||
|
|
||||||
|
|
||||||
@for_app(['g++', 'clang++'])
|
@for_app('g++', 'clang++')
|
||||||
def match(command):
|
def match(command):
|
||||||
return ('This file requires compiler and library support for the '
|
return ('This file requires compiler and library support for the '
|
||||||
'ISO C++ 2011 standard.' in command.stderr or
|
'ISO C++ 2011 standard.' in command.stderr or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user