Skip to content

Commit

Permalink
removed obsolete -c/--compile
Browse files Browse the repository at this point in the history
  • Loading branch information
jornbr committed Feb 15, 2021
1 parent a007bfd commit 38d6e47
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/gotm/main.F90
Expand Up @@ -121,10 +121,6 @@ subroutine cmdline
case ('-v', '--version')
call print_version()
stop
case ('-c', '--compile')
call print_version()
call compilation_options()
stop
case ('-h', '--help')
call print_help()
stop
Expand Down Expand Up @@ -191,30 +187,13 @@ subroutine cmdline

end subroutine cmdline

subroutine compilation_options()
#ifdef _FABM_
LEVEL1 '_FABM_'
#endif
#ifdef SEAGRASS
LEVEL1 'SEAGRASS'
#endif
#ifdef SPM
LEVEL1 'SPM'
#endif
#ifdef SEDIMENT
LEVEL1 'SEDIMENT'
#endif
STDERR LINE
end subroutine compilation_options

subroutine print_help()
print '(a)', 'Usage: gotm [OPTIONS]'
print '(a)', ''
print '(a)', 'Options:'
print '(a)', ''
print '(a)', ' -h, --help print usage information and exit'
print '(a)', ' -v, --version print version information'
print '(a)', ' -c, --compiler print compilation options'
print '(a)', ' <yaml_file> read configuration from file (default gotm.yaml)'
print '(a)', ' --ignore_unknown_config ignore unknown options encountered in configuration'
print '(a)', ' -l, --list_variables list all variables available for output'
Expand Down

0 comments on commit 38d6e47

Please sign in to comment.