From ec7980ff0b2186adf813172f305ba4e5f3e1aa2d Mon Sep 17 00:00:00 2001 From: Alex Selimov Date: Mon, 13 Jan 2020 09:50:29 -0500 Subject: [PATCH] Fix to main when running without a mode --- src/main.f90 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.f90 b/src/main.f90 index 49b1a36..ed34c53 100644 --- a/src/main.f90 +++ b/src/main.f90 @@ -38,8 +38,8 @@ program main end if !Check to make sure a mode was called - if (end_mode_arg=0) then - stop "Please run cacmb using an available mode" + if (end_mode_arg==0) then + stop "Nothing to do, please run cacmb using an available mode" end if !Now we loop through all of the arguments and check for passed options or for a filename to be written out arg_pos = end_mode_arg