瀏覽代碼

Error on unknown options

master
JustAnotherArchivist 2 年之前
父節點
當前提交
df7b25c2db
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. +6
    -0
      wpull2-requeue

+ 6
- 0
wpull2-requeue 查看文件

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

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

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


Loading…
取消
儲存