Webconfig: abbr doesn't support "--"

Fixes #2276
This commit is contained in:
Fabian Homborg 2015-09-13 22:29:02 +02:00
parent f5093f1625
commit 48874294d6

View file

@ -709,7 +709,7 @@ class FishConfigHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
return True
def do_save_abbreviation(self, abbreviation):
out, err = run_fish_cmd('abbr --add -- \'%s %s\'' % (abbreviation['word'], abbreviation['phrase']))
out, err = run_fish_cmd('abbr --add \'%s %s\'' % (abbreviation['word'], abbreviation['phrase']))
if err:
return err
else: