aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/tools
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-09-13 22:29:02 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-09-13 22:35:32 +0200
commit48874294d6703b896103db32bc1c31837d74b88a (patch)
tree1597882b35de4b7f11d8d3fee472c3ff4b057679 /share/tools
parentf5093f1625246d74bbb5a623ad3be257962edb18 (diff)
Webconfig: abbr doesn't support "--"
Fixes #2276
Diffstat (limited to 'share/tools')
-rwxr-xr-xshare/tools/web_config/webconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/tools/web_config/webconfig.py b/share/tools/web_config/webconfig.py
index 359946ae..c122f587 100755
--- a/share/tools/web_config/webconfig.py
+++ b/share/tools/web_config/webconfig.py
@@ -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: