From 4f42fe17635496920ed9ab8277f6d89f9da74e29 Mon Sep 17 00:00:00 2001 From: loikki <loic.hausammann@protonmail.ch> Date: Fri, 13 Jul 2018 11:31:06 +0200 Subject: [PATCH] Fix opt parser --- examples/AgoraDisk/getSolution.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/AgoraDisk/getSolution.sh b/examples/AgoraDisk/getSolution.sh index ea5b9c0b09..41fbab8000 100644 --- a/examples/AgoraDisk/getSolution.sh +++ b/examples/AgoraDisk/getSolution.sh @@ -7,10 +7,10 @@ with_cooling=0 function show_help { echo "Valid options are:" echo "\t -h \t Show this help" - echo "\t -c \t Download solution with cooling" + echo "\t -C \t Download solution with cooling" } -while getopts "h?c" opt; do +while getopts "h?C" opt; do case "$opt" in h|\?) show_help -- GitLab