Explorar el Código

Error on unknown options

master
JustAnotherArchivist hace 2 años
padre
commit
df7b25c2db
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. +6
    -0
      wpull2-requeue

+ 6
- 0
wpull2-requeue Ver fichero

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

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

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


Cargando…
Cancelar
Guardar