Skip to content

Commit db4b2e4

Browse files
committed
move routines out (non-trampoline)
1 parent d50e8a0 commit db4b2e4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/fpm_command_line.f90

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ module fpm_command_line
3838
use,intrinsic :: iso_fortran_env, only : stdin=>input_unit, &
3939
& stdout=>output_unit, &
4040
& stderr=>error_unit
41-
4241
implicit none
4342

4443
private
@@ -757,12 +756,10 @@ subroutine get_command_line_settings(cmd_settings)
757756
call move_alloc(working_dir, cmd_settings%working_dir)
758757
end if
759758

760-
contains
759+
end subroutine get_command_line_settings
761760

762761
!> Validate that build directory is not a reserved source directory name
763762
subroutine validate_build_dir(build_dir)
764-
use fpm_error, only: fpm_stop
765-
use fpm_filesystem, only: canon_path
766763
character(len=*), intent(in) :: build_dir
767764
character(len=*), parameter :: reserved_names(*) = [ &
768765
"src ", "app ", "test ", "tests ", &
@@ -809,8 +806,6 @@ subroutine printhelp(lines)
809806
stop
810807
end subroutine printhelp
811808

812-
end subroutine get_command_line_settings
813-
814809
subroutine set_help()
815810
help_list_nodash=[character(len=80) :: &
816811
'USAGE: fpm [ SUBCOMMAND [SUBCOMMAND_OPTIONS] ]|[--list|--help|--version]', &

0 commit comments

Comments
 (0)