Added -ow option which allows for automatic overwriting
This commit is contained in:
parent
9ebdfff0a1
commit
a942b8e2a1
4 changed files with 28 additions and 4 deletions
|
@ -12,7 +12,11 @@ subroutine call_option(option, arg_pos)
|
|||
call dislocation(option, arg_pos)
|
||||
case('-group')
|
||||
call group(arg_pos)
|
||||
case('-ow')
|
||||
arg_pos = arg_pos + 1
|
||||
continue
|
||||
case default
|
||||
print *, 'Option ', trim(adjustl(option)), ' is not currently accepted.'
|
||||
print *, 'Option ', trim(adjustl(option)), ' is not currently accepted. Skipping to next argument'
|
||||
arg_pos = arg_pos + 1
|
||||
end select
|
||||
end subroutine call_option
|
Loading…
Add table
Add a link
Reference in a new issue