Skip to content

Commit 9d5b03d

Browse files
committed
remove intrinsics documentation
1 parent e6c086d commit 9d5b03d

File tree

2 files changed

+2
-28
lines changed

2 files changed

+2
-28
lines changed

fpm/fpm.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ tag = "v0.2"
1414
git = "https://github.com/urbanjost/M_CLI2.git"
1515
rev = "649075aceb97f997665a1a4656514fd2e9b4becc"
1616

17-
[dependencies.fortran-intrinsic-manpages]
18-
git = "https://github.com/urbanjost/M_intrinsics.git"
19-
rev = "a758ebdd0487e8cab5b4894fbf375f87147c44b5"
20-
2117
[[test]]
2218
name = "cli-test"
2319
source-dir = "test/cli_test"

fpm/src/fpm_command_line.f90

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ module fpm_command_line
33
OS_UNKNOWN, OS_LINUX, OS_MACOS, OS_WINDOWS, &
44
OS_CYGWIN, OS_SOLARIS, OS_FREEBSD
55
use M_CLI2, only : set_args, lget, unnamed, remaining, specified
6-
use M_intrinsics, only : help_intrinsics
76
use fpm_strings, only : lower
87
use fpm_filesystem, only : basename, canon_path
98
use,intrinsic :: iso_fortran_env, only : stdin=>input_unit, &
@@ -203,14 +202,8 @@ subroutine get_command_line_settings(cmd_settings)
203202
help_text=[character(len=widest) :: help_text, help_list]
204203
help_text=[character(len=widest) :: help_text, version_text]
205204
case default
206-
! note help_intrinsics is returning a fixed-length array
207-
! to avoid compiler issues
208205
help_text=[character(len=widest) :: help_text, &
209-
& help_intrinsics( lower( unnamed(i) ) ) ]
210-
if(size(help_text).eq.0)then
211-
help_text=[character(len=widest) :: help_text, &
212-
& 'ERROR: unknown help topic "'//trim(unnamed(i))//'"']
213-
endif
206+
& 'ERROR: unknown help topic "'//trim(unnamed(i))//'"']
214207
end select
215208
enddo
216209
call printhelp(help_text)
@@ -332,7 +325,7 @@ subroutine set_help()
332325
' part of your default programming environment, as well as letting ', &
333326
' you share your projects with others in a similar manner. ', &
334327
' ', &
335-
' See the fpm(1) repository at https://fortran-lang.org/packages ', &
328+
' See the fpm(1) repository at https://fortran-lang.org/packages/fpm ', &
336329
' for a listing of registered projects. ', &
337330
' ', &
338331
' All output goes into the directory "build/" which can generally be ', &
@@ -493,8 +486,6 @@ subroutine set_help()
493486
'SYNOPSIS ', &
494487
' fpm help [fpm] [new] [build] [run] [test] [help] [version] [manual] ', &
495488
' ', &
496-
' fpm help [fortran|fortran_manual][FORTRAN_INTRINSIC_NAME] ', &
497-
' ', &
498489
'DESCRIPTION ', &
499490
' The "fpm help" command is an alternative to the --help parameter ', &
500491
' on the fpm(1) command and its subcommands. ', &
@@ -508,12 +499,6 @@ subroutine set_help()
508499
' ', &
509500
' The default is to display help for the fpm(1) command ', &
510501
' itself. ', &
511-
' INTRINSIC(s) In addition, Fortran intrinsics can be described. ', &
512-
' The special name "fortran" prints a list of available ', &
513-
' topics. "fortran_manual" displays all the built-in ', &
514-
' fortran documentation. Entries should be in ', &
515-
' uppercase to avoid conflicts with fpm(1) topics; ', &
516-
' but can be in lowercase if there is no conflict. ', &
517502
' ', &
518503
'EXAMPLES ', &
519504
' Sample usage: ', &
@@ -523,13 +508,6 @@ subroutine set_help()
523508
' fpm help new # display help for "new" subcommand ', &
524509
' fpm help manual # All fpm(1) built-in documentation ', &
525510
' ', &
526-
' FORTRAN INTRINSICS ', &
527-
' Additional general Fortran documentation ', &
528-
' ', &
529-
' fpm help SIN COS TAN # selected Fortran Intrinsic help ', &
530-
' fpm help fortran # index of Fortran documentation ', &
531-
' fpm help fortran_manual # all Fortran documentation ', &
532-
' ', &
533511
'SEE ALSO ', &
534512
' The fpm(1) home page at https://github.com/fortran-lang/fpm ', &
535513
'' ]

0 commit comments

Comments
 (0)