Commit 7f390f7c authored by Bruno's avatar Bruno

Merge pull request #163 from derekstavis/fix-issue-161

Fix #161 by inverting test argument order 
parents 69caabfe 3fb8b348
......@@ -33,7 +33,7 @@ function omf -d "Oh My Fish"
if test (count $argv) -eq 0
omf.help "main"; and return 0
else
if test $argv[-1] = "--help" -a (count $argv) = 2
if test "--help" = "$argv[-1]" -a (count $argv) = 2
omf.help $argv[1..-2]; and return 0
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment