Skip to content

Commit c674332

Browse files
committed
help text
1 parent 2fcfd71 commit c674332

File tree

1 file changed

+6
-22
lines changed

1 file changed

+6
-22
lines changed

fpm/src/fpm_command_line.f90

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ module fpm_command_line
5858
& help_text(:), help_install(:), help_help(:), &
5959
& help_list(:), help_list_dash(:), help_list_nodash(:)
6060
character(len=20),parameter :: manual(*)=[ character(len=20) ::&
61-
& 'fpm','new','build','run','test',&
62-
& 'runner','list','help','version']
61+
& ' ', 'fpm', 'new', 'build', 'run', &
62+
& 'test', 'runner', 'list', 'help', 'version' ]
6363

6464
character(len=:), allocatable :: charbug
6565
contains
@@ -432,7 +432,10 @@ subroutine set_help()
432432
' fpm run myprogram --release -- -x 10 -y 20 --title "my title" ', &
433433
' ', &
434434
'SEE ALSO ', &
435-
' The fpm(1) home page at https://github.com/fortran-lang/fpm ', &
435+
' + The fpm(1) home page is at https://github.com/fortran-lang/fpm ', &
436+
' + Registered fpm(1) packages are at https://fortran-lang.org/packages ', &
437+
' + The fpm(1) TOML file format is described at ', &
438+
' https://github.com/fortran-lang/fpm/blob/master/manifest-reference.md ', &
436439
'']
437440
help_list=[character(len=80) :: &
438441
'NAME ', &
@@ -455,9 +458,6 @@ subroutine set_help()
455458
' ', &
456459
' fpm list ', &
457460
' fpm --list ', &
458-
' ', &
459-
'SEE ALSO ', &
460-
' The fpm(1) home page at https://github.com/fortran-lang/fpm ', &
461461
'' ]
462462
help_run=[character(len=80) :: &
463463
'NAME ', &
@@ -498,9 +498,6 @@ subroutine set_help()
498498
' ', &
499499
' # install executables in directory (assuming install(1) exists) ', &
500500
' fpm run --runner ''install -b -m 0711 -p -t /usr/local/bin'' ', &
501-
' ', &
502-
'SEE ALSO ', &
503-
' The fpm(1) home page at https://github.com/fortran-lang/fpm ', &
504501
'' ]
505502
help_build=[character(len=80) :: &
506503
'NAME ', &
@@ -539,9 +536,6 @@ subroutine set_help()
539536
' ', &
540537
' fpm build # build with debug options ', &
541538
' fpm build --release # build with high optimization ', &
542-
' ', &
543-
'SEE ALSO ', &
544-
' The fpm(1) home page at https://github.com/fortran-lang/fpm ', &
545539
'' ]
546540

547541
help_help=[character(len=80) :: &
@@ -574,8 +568,6 @@ subroutine set_help()
574568
' fpm help new # display help for "new" subcommand ', &
575569
' fpm help manual # All fpm(1) built-in documentation ', &
576570
' ', &
577-
'SEE ALSO ', &
578-
' The fpm(1) home page at https://github.com/fortran-lang/fpm ', &
579571
'' ]
580572
help_new=[character(len=80) :: &
581573
'NAME ', &
@@ -650,11 +642,6 @@ subroutine set_help()
650642
' fpm build ', &
651643
' fpm run # run example application program ', &
652644
' fpm test # run example test program ', &
653-
' ', &
654-
'SEE ALSO ', &
655-
' The fpm(1) home page at https://github.com/fortran-lang/fpm ', &
656-
' ', &
657-
' Registered packages are at https://fortran-lang.org/packages ', &
658645
'' ]
659646
help_test=[character(len=80) :: &
660647
'NAME ', &
@@ -691,9 +678,6 @@ subroutine set_help()
691678
' fpm test mytest -- -x 10 -y 20 --title "my title line" ', &
692679
' ', &
693680
' fpm test tst1 tst2 --release # production version of two tests ', &
694-
' ', &
695-
'SEE ALSO ', &
696-
' The fpm(1) home page at https://github.com/fortran-lang/fpm ', &
697681
'' ]
698682
help_install=[character(len=80) :: &
699683
' fpm(1) subcommand "install" ', &

0 commit comments

Comments
 (0)