Przeglądaj źródła

Error on unknown options

master
JustAnotherArchivist 2 lat temu
rodzic
commit
df7b25c2db
1 zmienionych plików z 6 dodań i 0 usunięć
  1. +6
    -0
      wpull2-requeue

+ 6
- 0
wpull2-requeue Wyświetl plik

@@ -48,6 +48,12 @@ then
shift
fi

if [[ "$1" == --* ]]
then
echo "Error: Unknown option $1" >&2
exit 1
fi

if [[ "${where}" ]]
then
where="$1"


Ładowanie…
Anuluj
Zapisz