Explorar o código

Usage message for run_sims

Ian Goldberg %!s(int64=5) %!d(string=hai) anos
pai
achega
c833bad063
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      run_sims.in

+ 5 - 0
run_sims.in

@@ -2,6 +2,11 @@
 
 seed="$1"
 
+if [ "$seed" == "" ]; then
+    echo "Usage: $0 seed"
+    exit 1
+fi
+
 # Uncomment the ones you want to run.  Note that each one takes only one
 # core, but a nontrivial amount of RAM (estimated in the line above).