Fix flags parsing for script
Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
		@@ -18,8 +18,8 @@ NRUNS="${NRUNS:-3}"
 | 
				
			|||||||
LOG="${LOG:-latencies_and_cfds.log}"
 | 
					LOG="${LOG:-latencies_and_cfds.log}"
 | 
				
			||||||
STUB_ONLY="${STUB_ONLY:-false}"
 | 
					STUB_ONLY="${STUB_ONLY:-false}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
while getopts c:f:n:l:s flag
 | 
					OPTIND=2
 | 
				
			||||||
do
 | 
					while getopts "c:f:n:l:s" flag; do
 | 
				
			||||||
    case "${flag}" in
 | 
					    case "${flag}" in
 | 
				
			||||||
        c) CORE=${OPTARG};;
 | 
					        c) CORE=${OPTARG};;
 | 
				
			||||||
        f) FREQ=${OPTARG};;
 | 
					        f) FREQ=${OPTARG};;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user