Procházet zdrojové kódy

Error on unknown options

master
JustAnotherArchivist před 2 roky
rodič
revize
df7b25c2db
1 změnil soubory, kde provedl 6 přidání a 0 odebrání
  1. +6
    -0
      wpull2-requeue

+ 6
- 0
wpull2-requeue Zobrazit soubor

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

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

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


Načítá se…
Zrušit
Uložit