File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2409,7 +2409,7 @@ _comp_compgen_known_hosts__impl()
2409
2409
F)
2410
2410
if [[ ! $OPTARG ]]; then
2411
2411
echo " bash_completion: $FUNCNAME : -F: an empty filename is specified" >&2
2412
- return 1
2412
+ return 2
2413
2413
fi
2414
2414
configfile=$OPTARG
2415
2415
;;
@@ -2418,13 +2418,13 @@ _comp_compgen_known_hosts__impl()
2418
2418
6) ipv6=set ;;
2419
2419
* )
2420
2420
echo " bash_completion: $FUNCNAME : usage error" >&2
2421
- return 1
2421
+ return 2
2422
2422
;;
2423
2423
esac
2424
2424
done
2425
2425
if (( $# < OPTIND)) ; then
2426
2426
echo " bash_completion: $FUNCNAME : missing mandatory argument CWORD" >&2
2427
- return 1
2427
+ return 2
2428
2428
fi
2429
2429
cur=${! OPTIND}
2430
2430
(( OPTIND += 1 ))
@@ -2434,7 +2434,7 @@ _comp_compgen_known_hosts__impl()
2434
2434
printf ' %s ' ${! OPTIND}
2435
2435
shift
2436
2436
done) " >&2
2437
- return 1
2437
+ return 2
2438
2438
fi
2439
2439
2440
2440
[[ $cur == * @* ]] && prefix=$prefix ${cur%@* } @ && cur=${cur#*@ }
You can’t perform that action at this time.
0 commit comments