summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-18 17:45:02 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-18 17:45:02 (EDT)
commitd1311afd8102e0423269084a851e1da5a99ae759 (patch)
treef9e77f492a4ef655362436f2e0bebf397644a17e /lib
parent6f097f590b984ef3a69e181de7249bcfce106ddd (diff)
ob_parse_control(): Shift optional arguments
Diffstat (limited to 'lib')
-rw-r--r--lib/control.sh1
1 files changed, 1 insertions, 0 deletions
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