From 522893efd7abcf26e49bbfdb59e5d89743983217 Mon Sep 17 00:00:00 2001
From: Brandon Rodriguez <brodriguez8774@gmail.com>
Date: Wed, 4 Mar 2020 23:01:52 -0500
Subject: [PATCH] Remove "execute all" option

---
 run.sh | 25 +++++--------------------
 1 file changed, 5 insertions(+), 20 deletions(-)

diff --git a/run.sh b/run.sh
index 41cc768..bdb6509 100755
--- a/run.sh
+++ b/run.sh
@@ -23,19 +23,13 @@ cd "$(dirname "$0")"
 
 
 function main () {
-    # Check if first arg was provided.
-    if [[ $1 != "" ]]
+    # Check that required number of args were provided.
+    if [[ $# -lt 8 ]]
     then
-        # Check that required number of args were provided.
-        if [[ $# -lt 8 ]]
-        then
-            # Not enough arguments. Display help.
-            display_help
-        else
-            execute_single_file $@
-        fi
+        # Not enough arguments. Display help.
+        display_help
     else
-        execute_all_files $@
+        execute_single_file $@
     fi
 
     echo ""
@@ -96,15 +90,6 @@ function execute_single_file () {
 }
 
 
-###
- # Runs all cache simulation files.
- ##
-function execute_all_files () {
-    echo -e "${color_red}Not yet implemented.${color_reset}"
-    exit 1
-}
-
-
 ###
  # Gets absolute path of provided file/directory.
  ##
-- 
GitLab