From 48874294d6703b896103db32bc1c31837d74b88a Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sun, 13 Sep 2015 22:29:02 +0200 Subject: Webconfig: abbr doesn't support "--" Fixes #2276 --- share/tools/web_config/webconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/tools') 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: -- cgit v1.2.3