Fix to main when running without a mode
This commit is contained in:
parent
1f1598dec9
commit
ec7980ff0b
@ -38,8 +38,8 @@ program main
|
|||||||
end if
|
end if
|
||||||
|
|
||||||
!Check to make sure a mode was called
|
!Check to make sure a mode was called
|
||||||
if (end_mode_arg=0) then
|
if (end_mode_arg==0) then
|
||||||
stop "Please run cacmb using an available mode"
|
stop "Nothing to do, please run cacmb using an available mode"
|
||||||
end if
|
end if
|
||||||
!Now we loop through all of the arguments and check for passed options or for a filename to be written out
|
!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
|
arg_pos = end_mode_arg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user