Ver código fonte

Error on unknown options

master
JustAnotherArchivist 2 anos atrás
pai
commit
df7b25c2db
1 arquivos alterados com 6 adições e 0 exclusões
  1. +6
    -0
      wpull2-requeue

+ 6
- 0
wpull2-requeue Ver arquivo

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

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

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


Carregando…
Cancelar
Salvar