mirror of
https://github.com/nvbn/thefuck.git
synced 2025-09-21 04:32:37 +01:00
Fix the cpp11 rule
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user