Don't test with one argument

[ci skip]
This commit is contained in:
Fabian Homborg
2019-01-27 14:23:36 +01:00
parent c776414674
commit 7eee158292
2 changed files with 3 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ function __fish_adb_run_command -d 'Runs adb with any -s parameters already give
set -l cmd (commandline -poc)
set -e cmd[1]
for i in $cmd
if test $sopt_is_next
if test -n "$sopt_is_next"
set sopt -s $i
break
else