From d1311afd8102e0423269084a851e1da5a99ae759 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 18 Mar 2019 17:45:02 -0400 Subject: ob_parse_control(): Shift optional arguments --- diff --git a/lib/control.sh b/lib/control.sh index 7f39ecd..0fdd715 100644 --- a/lib/control.sh +++ b/lib/control.sh @@ -91,6 +91,7 @@ ob_parse_control() if [ ${#} -eq 2 ]; then req_fields=" ${1} " opt_fields=" ${2} " + shift 2 check_fields='true' fi -- cgit v0.9.1