@@ -3,7 +3,6 @@ module fpm_command_line
3
3
OS_UNKNOWN, OS_LINUX, OS_MACOS, OS_WINDOWS, &
4
4
OS_CYGWIN, OS_SOLARIS, OS_FREEBSD
5
5
use M_CLI2, only : set_args, lget, unnamed, remaining, specified
6
- use M_intrinsics, only : help_intrinsics
7
6
use fpm_strings, only : lower
8
7
use fpm_filesystem, only : basename, canon_path
9
8
use ,intrinsic :: iso_fortran_env, only : stdin= >input_unit, &
@@ -203,14 +202,8 @@ subroutine get_command_line_settings(cmd_settings)
203
202
help_text= [character (len= widest) :: help_text, help_list]
204
203
help_text= [character (len= widest) :: help_text, version_text]
205
204
case default
206
- ! note help_intrinsics is returning a fixed-length array
207
- ! to avoid compiler issues
208
205
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))// ' "' ]
214
207
end select
215
208
enddo
216
209
call printhelp(help_text)
@@ -332,7 +325,7 @@ subroutine set_help()
332
325
' part of your default programming environment, as well as letting ' , &
333
326
' you share your projects with others in a similar manner. ' , &
334
327
' ' , &
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 ' , &
336
329
' for a listing of registered projects. ' , &
337
330
' ' , &
338
331
' All output goes into the directory "build/" which can generally be ' , &
@@ -493,8 +486,6 @@ subroutine set_help()
493
486
' SYNOPSIS ' , &
494
487
' fpm help [fpm] [new] [build] [run] [test] [help] [version] [manual] ' , &
495
488
' ' , &
496
- ' fpm help [fortran|fortran_manual][FORTRAN_INTRINSIC_NAME] ' , &
497
- ' ' , &
498
489
' DESCRIPTION ' , &
499
490
' The "fpm help" command is an alternative to the --help parameter ' , &
500
491
' on the fpm(1) command and its subcommands. ' , &
@@ -508,12 +499,6 @@ subroutine set_help()
508
499
' ' , &
509
500
' The default is to display help for the fpm(1) command ' , &
510
501
' 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. ' , &
517
502
' ' , &
518
503
' EXAMPLES ' , &
519
504
' Sample usage: ' , &
@@ -523,13 +508,6 @@ subroutine set_help()
523
508
' fpm help new # display help for "new" subcommand ' , &
524
509
' fpm help manual # All fpm(1) built-in documentation ' , &
525
510
' ' , &
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
- ' ' , &
533
511
' SEE ALSO ' , &
534
512
' The fpm(1) home page at https://github.com/fortran-lang/fpm ' , &
535
513
' ' ]
0 commit comments