From ec8ca0759bb86e768e50ceaac617607f296f6fe5 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 1 Feb 2019 15:48:20 -0600 Subject: [PATCH] Update test.sh --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 2adf0e4..15b1cbd 100755 --- a/test.sh +++ b/test.sh @@ -23,7 +23,7 @@ while getopts ':a:b:c:r:' flag; do r) r=$OPTARG; echo "R - $r" ;; a) a=$OPTARG; echo "A - $a" ;; b) a=$OPTARG; echo "B - $b" ;; - c) a=$OPTARG; echo "C - $c" ;; + c) c=$OPTARG; echo "C - $c" ;; :) echo "Invalid option: $OPTARG requires an argument" 1>&2 ;; esac done