Skip to content
Snippets Groups Projects
Commit 820f9465 authored by Wouter Deconinck's avatar Wouter Deconinck Committed by Wouter Deconinck
Browse files

Uncomment positional argument storing

parent 6fe429a0
No related branches found
No related tags found
1 merge request!170Make view12/14/15 parallel (one slice per job)
......@@ -49,13 +49,13 @@ do
shift # past value
;;
-[a-zA-Z]*) # unknown option
#POSITIONAL+=("$1") # save it in an array for later
POSITIONAL+=("$1") # save it in an array for later
echo "unknown option $1"
print_the_help
shift # past argument
;;
*) # positional options
#POSITIONAL+=("$1") # save it in an array for later
POSITIONAL+=("$1") # save it in an array for later
shift # past argument
;;
esac
......
......@@ -54,13 +54,13 @@ do
shift # past value
;;
-[a-zA-Z]*) # unknown option
#POSITIONAL+=("$1") # save it in an array for later
POSITIONAL+=("$1") # save it in an array for later
echo "unknown option $1"
print_the_help
shift # past argument
;;
*) # positional options
#POSITIONAL+=("$1") # save it in an array for later
POSITIONAL+=("$1") # save it in an array for later
shift # past argument
;;
esac
......
......@@ -54,13 +54,13 @@ do
shift # past value
;;
-[a-zA-Z]*) # unknown option
#POSITIONAL+=("$1") # save it in an array for later
POSITIONAL+=("$1") # save it in an array for later
echo "unknown option $1"
print_the_help
shift # past argument
;;
*) # positional options
#POSITIONAL+=("$1") # save it in an array for later
POSITIONAL+=("$1") # save it in an array for later
shift # past argument
;;
esac
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment