Skip to content

Commit

Permalink
add -v support in command/commands api
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Feb 14, 2013
1 parent 59737da commit a335978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/api/shell/command/functions
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ commands()
do
_token="$1" && shift
case "${_token}" in
(exists)
(-v|exists)
if __sm.command.exists "${1}" > /dev/null 2>&1
then return 0
else return 1
Expand Down

0 comments on commit a335978

Please sign in to comment.