aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinit current directory[i] <urbanjost@comcast.net>2020-10-20 08:16:05 -0400
committerinit current directory[i] <urbanjost@comcast.net>2020-10-20 08:16:05 -0400
commit9d5b03d192e50831e2046c7843174dff5ca2a37a (patch)
tree6136c8a6f28fe9e09b54084e5d3fae3f46f77103
parente6c086df2a8a8db08e2fc6ad6bbee4bf6ee27a35 (diff)
downloadfpm-9d5b03d192e50831e2046c7843174dff5ca2a37a.tar.gz
fpm-9d5b03d192e50831e2046c7843174dff5ca2a37a.zip
remove intrinsics documentation
-rw-r--r--fpm/fpm.toml4
-rw-r--r--fpm/src/fpm_command_line.f9026
2 files changed, 2 insertions, 28 deletions
diff --git a/fpm/fpm.toml b/fpm/fpm.toml
index f5fd443..fc3a381 100644
--- a/fpm/fpm.toml
+++ b/fpm/fpm.toml
@@ -14,10 +14,6 @@ tag = "v0.2"
git = "https://github.com/urbanjost/M_CLI2.git"
rev = "649075aceb97f997665a1a4656514fd2e9b4becc"
-[dependencies.fortran-intrinsic-manpages]
-git = "https://github.com/urbanjost/M_intrinsics.git"
-rev = "a758ebdd0487e8cab5b4894fbf375f87147c44b5"
-
[[test]]
name = "cli-test"
source-dir = "test/cli_test"
diff --git a/fpm/src/fpm_command_line.f90 b/fpm/src/fpm_command_line.f90
index f8d6f4a..cf7c761 100644
--- a/fpm/src/fpm_command_line.f90
+++ b/fpm/src/fpm_command_line.f90
@@ -3,7 +3,6 @@ use fpm_environment, only : get_os_type, &
OS_UNKNOWN, OS_LINUX, OS_MACOS, OS_WINDOWS, &
OS_CYGWIN, OS_SOLARIS, OS_FREEBSD
use M_CLI2, only : set_args, lget, unnamed, remaining, specified
-use M_intrinsics, only : help_intrinsics
use fpm_strings, only : lower
use fpm_filesystem, only : basename, canon_path
use,intrinsic :: iso_fortran_env, only : stdin=>input_unit, &
@@ -203,14 +202,8 @@ contains
help_text=[character(len=widest) :: help_text, help_list]
help_text=[character(len=widest) :: help_text, version_text]
case default
- ! note help_intrinsics is returning a fixed-length array
- ! to avoid compiler issues
help_text=[character(len=widest) :: help_text, &
- & help_intrinsics( lower( unnamed(i) ) ) ]
- if(size(help_text).eq.0)then
- help_text=[character(len=widest) :: help_text, &
- & 'ERROR: unknown help topic "'//trim(unnamed(i))//'"']
- endif
+ & 'ERROR: unknown help topic "'//trim(unnamed(i))//'"']
end select
enddo
call printhelp(help_text)
@@ -332,7 +325,7 @@ contains
' part of your default programming environment, as well as letting ', &
' you share your projects with others in a similar manner. ', &
' ', &
- ' See the fpm(1) repository at https://fortran-lang.org/packages ', &
+ ' See the fpm(1) repository at https://fortran-lang.org/packages/fpm ', &
' for a listing of registered projects. ', &
' ', &
' All output goes into the directory "build/" which can generally be ', &
@@ -493,8 +486,6 @@ contains
'SYNOPSIS ', &
' fpm help [fpm] [new] [build] [run] [test] [help] [version] [manual] ', &
' ', &
- ' fpm help [fortran|fortran_manual][FORTRAN_INTRINSIC_NAME] ', &
- ' ', &
'DESCRIPTION ', &
' The "fpm help" command is an alternative to the --help parameter ', &
' on the fpm(1) command and its subcommands. ', &
@@ -508,12 +499,6 @@ contains
' ', &
' The default is to display help for the fpm(1) command ', &
' itself. ', &
- ' INTRINSIC(s) In addition, Fortran intrinsics can be described. ', &
- ' The special name "fortran" prints a list of available ', &
- ' topics. "fortran_manual" displays all the built-in ', &
- ' fortran documentation. Entries should be in ', &
- ' uppercase to avoid conflicts with fpm(1) topics; ', &
- ' but can be in lowercase if there is no conflict. ', &
' ', &
'EXAMPLES ', &
' Sample usage: ', &
@@ -523,13 +508,6 @@ contains
' fpm help new # display help for "new" subcommand ', &
' fpm help manual # All fpm(1) built-in documentation ', &
' ', &
- ' FORTRAN INTRINSICS ', &
- ' Additional general Fortran documentation ', &
- ' ', &
- ' fpm help SIN COS TAN # selected Fortran Intrinsic help ', &
- ' fpm help fortran # index of Fortran documentation ', &
- ' fpm help fortran_manual # all Fortran documentation ', &
- ' ', &
'SEE ALSO ', &
' The fpm(1) home page at https://github.com/fortran-lang/fpm ', &
'' ]