From 7ef96a536bb87ca3f789ea031cc9b4210fd88f31 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Wed, 31 Aug 2016 04:53:49 +0430 Subject: some minor changes. --- mutator.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'mutator.sh') diff --git a/mutator.sh b/mutator.sh index 1448921..d669332 100755 --- a/mutator.sh +++ b/mutator.sh @@ -22,13 +22,17 @@ do echo "Version 1.0.0" break ;; - -t|--target) + -i|--input|-input) INPUT="$2" shift ;; + -o|--output|-output) + OUTPUT="$2" + shift + ;; *) #not a valid argument - echo "$2 is not a valid argument." + echo "$1 $2 is not a valid argument." break ;; esac @@ -51,4 +55,6 @@ elif [[ "$COMMAND" == "default" ]]; then echo "Running all exetubales on target input." "make" all "./mutator" "$INPUT" -- > "$OUTPUT" +else + echo "$COMMAND is not a valid command." fi -- cgit v1.2.3