functions -q: Return false without an argument

This erroneously listed functions and returned true.
This commit is contained in:
Fabian Homborg
2019-02-01 18:29:54 +01:00
parent bfa051e466
commit 93c0d3f4a5
4 changed files with 15 additions and 0 deletions

View File

@@ -29,3 +29,6 @@ fish: function: The name 'test' is reserved,
and can not be used as a function name
function test; echo banana; end
^
####################
# Checking `functions -q` without arguments