Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d567ea40 authored by Steven Moreland's avatar Steven Moreland Committed by Gerrit Code Review
Browse files

Merge "lunch: error on >1 arg (before ignored)"

parents b6145d32 92793dc5
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -599,6 +599,11 @@ function lunch()
{
    local answer

    if [[ $# -gt 1 ]]; then
        echo "usage: lunch [target]" >&2
        return 1
    fi

    if [ "$1" ]; then
        answer=$1
    else