diff options
author | axel <axel@liljencrantz.se> | 2006-12-13 06:37:27 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-12-13 06:37:27 +1000 |
commit | 6c8a559023cc7ba950ee9e55176f6fe3e6335c03 (patch) | |
tree | 6d62aaf53ef542ebbf2f95b665a4ec2e4fa7acd1 /share/functions/__fish_contains_opt.fish | |
parent | ca8c337c941c46f4fa40336a1979b5d364a7509b (diff) |
Drop unneeded '--' when using set builtin in various places
darcs-hash:20061212203727-ac50b-23fbb54bba0c5773e8a3dd2e5737ea8a670c801d.gz
Diffstat (limited to 'share/functions/__fish_contains_opt.fish')
-rw-r--r-- | share/functions/__fish_contains_opt.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/functions/__fish_contains_opt.fish b/share/functions/__fish_contains_opt.fish index ec7eb671..f38adb40 100644 --- a/share/functions/__fish_contains_opt.fish +++ b/share/functions/__fish_contains_opt.fish @@ -8,7 +8,7 @@ function __fish_contains_opt -d "Checks if a specific option has been given in t for i in $argv if test $next_short set next_short - set -- short_opt $short_opt $i + set short_opt $short_opt $i else switch $i case -s @@ -18,7 +18,7 @@ function __fish_contains_opt -d "Checks if a specific option has been given in t return 1 case '**' - set -- long_opt $long_opt $i + set long_opt $long_opt $i end end end |