@@ -673,14 +673,16 @@ subroutine set_help()
673
673
' install [--profile PROF] [--flag FFLAGS] [--no-rebuild] [--prefix PATH] [options]' , &
674
674
' ' , &
675
675
' SUBCOMMAND OPTIONS ' , &
676
- ' --profile PROF Builds or runs with the given profile (either release or debug).' , &
677
- ' fpm(1) defaults to using common compiler debug flags with debug' , &
678
- ' profile, common compiler optimization flags are used with the' , &
679
- ' release profile' , &
680
- ' --flag FFLAGS Use compile arguments provided in FFLAGS rather than' , &
681
- ' defaults, if a profile (debug or release) is present the' , &
682
- ' FFLAGS are appended rather than replaced, module flags are' , &
683
- ' provided by fpm(1) and must not be present in FFLAGS' , &
676
+ ' --profile PROF selects the compilation profile for the build.' ,&
677
+ ' Currently available profiles are "release" for' ,&
678
+ ' high optimization and "debug" for full debug options.' ,&
679
+ ' If --flag is not specified the "debug" flags are the' ,&
680
+ ' default. ' ,&
681
+ ' --flag FFLAGS selects compile arguments for the build. These are' ,&
682
+ ' added to the profile options if --profile is specified,' ,&
683
+ ' else these options override the defaults.' ,&
684
+ ' Note object and .mod directory locations are always' ,&
685
+ ' built in.' ,&
684
686
' --list List candidates instead of building or running them. On ' , &
685
687
' the fpm(1) command this shows a brief list of subcommands.' , &
686
688
' --runner CMD Provides a command to prefix program execution paths. ' , &
@@ -765,8 +767,16 @@ subroutine set_help()
765
767
' the special characters from shell expansion. ' , &
766
768
' --all Run all examples or applications. An alias for --target '' *'' . ' , &
767
769
' --example Run example programs instead of applications. ' , &
768
- ' --profile PROF Selects the compilation profile for the build. ' , &
769
- ' --flags FFLAGS selects compile arguments for the build' , &
770
+ ' --profile PROF selects the compilation profile for the build.' ,&
771
+ ' Currently available profiles are "release" for' ,&
772
+ ' high optimization and "debug" for full debug options.' ,&
773
+ ' If --flag is not specified the "debug" flags are the' ,&
774
+ ' default. ' ,&
775
+ ' --flag FFLAGS selects compile arguments for the build. These are' ,&
776
+ ' added to the profile options if --profile is specified,' ,&
777
+ ' else these options override the defaults.' ,&
778
+ ' Note object and .mod directory locations are always' ,&
779
+ ' built in.' ,&
770
780
' --compiler COMPILER_NAME Specify a compiler name. The default is ' , &
771
781
' "gfortran" unless set by the environment ' , &
772
782
' variable FPM_COMPILER. ' , &
@@ -829,9 +839,16 @@ subroutine set_help()
829
839
' specified in the "fpm.toml" file. ' , &
830
840
' ' , &
831
841
' OPTIONS ' , &
832
- ' --profile PROF selects the compilation profile for the build ' , &
833
- ' high optimization instead of full debug options. ' , &
834
- ' --flags FFLAGS selects compile arguments for the build' , &
842
+ ' --profile PROF selects the compilation profile for the build.' ,&
843
+ ' Currently available profiles are "release" for' ,&
844
+ ' high optimization and "debug" for full debug options.' ,&
845
+ ' If --flag is not specified the "debug" flags are the' ,&
846
+ ' default. ' ,&
847
+ ' --flag FFLAGS selects compile arguments for the build. These are' ,&
848
+ ' added to the profile options if --profile is specified,' ,&
849
+ ' else these options override the defaults.' ,&
850
+ ' Note object and .mod directory locations are always' ,&
851
+ ' built in.' ,&
835
852
' --compiler COMPILER_NAME Specify a compiler name. The default is ' , &
836
853
' "gfortran" unless set by the environment ' , &
837
854
' variable FPM_COMPILER. ' , &
@@ -1005,8 +1022,16 @@ subroutine set_help()
1005
1022
' any single character and "*" represents any string. ' , &
1006
1023
' Note The glob string normally needs quoted to ' , &
1007
1024
' protect the special characters from shell expansion.' , &
1008
- ' --profile PROF selects the compilation profile for the build.' , &
1009
- ' --flags FFLAGS selects compile arguments for the build' , &
1025
+ ' --profile PROF selects the compilation profile for the build.' ,&
1026
+ ' Currently available profiles are "release" for' ,&
1027
+ ' high optimization and "debug" for full debug options.' ,&
1028
+ ' If --flag is not specified the "debug" flags are the' ,&
1029
+ ' default. ' ,&
1030
+ ' --flag FFLAGS selects compile arguments for the build. These are' ,&
1031
+ ' added to the profile options if --profile is specified,' ,&
1032
+ ' else these options override the defaults.' ,&
1033
+ ' Note object and .mod directory locations are always' ,&
1034
+ ' built in.' ,&
1010
1035
' --compiler COMPILER_NAME Specify a compiler name. The default is ' , &
1011
1036
' "gfortran" unless set by the environment ' , &
1012
1037
' variable FPM_COMPILER. ' , &
@@ -1069,8 +1094,16 @@ subroutine set_help()
1069
1094
' OPTIONS' , &
1070
1095
' --list list all installable targets for this project,' , &
1071
1096
' but do not install any of them' , &
1072
- ' --profile selects the compilation profile for installation' , &
1073
- ' --flags FFLAGS selects compile arguments for the build' , &
1097
+ ' --profile PROF selects the compilation profile for the build.' ,&
1098
+ ' Currently available profiles are "release" for' ,&
1099
+ ' high optimization and "debug" for full debug options.' ,&
1100
+ ' If --flag is not specified the "debug" flags are the' ,&
1101
+ ' default. ' ,&
1102
+ ' --flag FFLAGS selects compile arguments for the build. These are' ,&
1103
+ ' added to the profile options if --profile is specified,' ,&
1104
+ ' else these options override the defaults.' ,&
1105
+ ' Note object and .mod directory locations are always' ,&
1106
+ ' built in.' ,&
1074
1107
' --no-rebuild do not rebuild project before installation' , &
1075
1108
' --prefix DIR path to installation directory (requires write access),' , &
1076
1109
' the default prefix on Unix systems is $HOME/.local' , &
0 commit comments