Parcourir la source

Usage message for run_sims

Ian Goldberg il y a 5 ans
Parent
commit
c833bad063
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  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).