extract_utils: template: make --section argument non-positional

Change-Id: I3b991bd125c0f92900d625158cd826b4b9f53a3b
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
diff --git a/build/templates/extract-files.sh b/build/templates/extract-files.sh
index c6f3926..9168e06 100755
--- a/build/templates/extract-files.sh
+++ b/build/templates/extract-files.sh
@@ -36,6 +36,7 @@
 
 # Default to sanitizing the vendor folder before extraction
 CLEAN_VENDOR=true
+SECTION=
 
 while [ "$1" != "" ]; do
     case "$1" in
@@ -58,6 +59,6 @@
 # Initialize the helper
 setup_vendor "${DEVICE}" "${VENDOR}" "${LINEAGE_ROOT}" false "${CLEAN_VENDOR}"
 
-extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${SECTION}"
+extract "${MY_DIR}/proprietary-files.txt" "${SRC}" --section "${SECTION}"
 
 "${MY_DIR}/setup-makefiles.sh"