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 @@ -2421,7 +2421,7 @@ _comp_compgen_known_hosts__impl()
2421
2421
F)
2422
2422
if [[ ! $OPTARG ]]; then
2423
2423
echo " bash_completion: $FUNCNAME : -F: an empty filename is specified" >&2
2424
- return 1
2424
+ return 2
2425
2425
fi
2426
2426
configfile=$OPTARG
2427
2427
;;
@@ -2430,13 +2430,13 @@ _comp_compgen_known_hosts__impl()
2430
2430
6) ipv6=set ;;
2431
2431
* )
2432
2432
echo " bash_completion: $FUNCNAME : usage error" >&2
2433
- return 1
2433
+ return 2
2434
2434
;;
2435
2435
esac
2436
2436
done
2437
2437
if (( $# < OPTIND)) ; then
2438
2438
echo " bash_completion: $FUNCNAME : missing mandatory argument CWORD" >&2
2439
- return 1
2439
+ return 2
2440
2440
fi
2441
2441
cur=${! OPTIND}
2442
2442
(( OPTIND += 1 ))
@@ -2446,7 +2446,7 @@ _comp_compgen_known_hosts__impl()
2446
2446
printf ' %s ' ${! OPTIND}
2447
2447
shift
2448
2448
done) " >&2
2449
- return 1
2449
+ return 2
2450
2450
fi
2451
2451
2452
2452
[[ $cur == * @* ]] && prefix=$prefix ${cur%@* } @ && cur=${cur#*@ }
You can’t perform that action at this time.
0 commit comments