* quick fix for #655 * Enabled by default and fix * Test * Added readme line * This is unnecessary
This commit is contained in:
committed by
Vladimir Iakovlev
parent
21a916d953
commit
e658f35bd9
@@ -0,0 +1,13 @@
|
||||
from thefuck.utils import replace_argument, for_app
|
||||
|
||||
|
||||
@for_app('php')
|
||||
def match(command):
|
||||
return "php -s" in command.script
|
||||
|
||||
|
||||
def get_new_command(command):
|
||||
return replace_argument(command.script, "-s", "-S")
|
||||
|
||||
|
||||
requires_output = False
|
||||
Reference in New Issue
Block a user