@@ -673,14 +673,16 @@ subroutine set_help()
673673 ' install [--profile PROF] [--flag FFLAGS] [--no-rebuild] [--prefix PATH] [options]' , &
674674 ' ' , &
675675 ' 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.' ,&
684686 ' --list List candidates instead of building or running them. On ' , &
685687 ' the fpm(1) command this shows a brief list of subcommands.' , &
686688 ' --runner CMD Provides a command to prefix program execution paths. ' , &
@@ -765,8 +767,16 @@ subroutine set_help()
765767 ' the special characters from shell expansion. ' , &
766768 ' --all Run all examples or applications. An alias for --target '' *'' . ' , &
767769 ' --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.' ,&
770780 ' --compiler COMPILER_NAME Specify a compiler name. The default is ' , &
771781 ' "gfortran" unless set by the environment ' , &
772782 ' variable FPM_COMPILER. ' , &
@@ -829,9 +839,16 @@ subroutine set_help()
829839 ' specified in the "fpm.toml" file. ' , &
830840 ' ' , &
831841 ' 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.' ,&
835852 ' --compiler COMPILER_NAME Specify a compiler name. The default is ' , &
836853 ' "gfortran" unless set by the environment ' , &
837854 ' variable FPM_COMPILER. ' , &
@@ -1005,8 +1022,16 @@ subroutine set_help()
10051022 ' any single character and "*" represents any string. ' , &
10061023 ' Note The glob string normally needs quoted to ' , &
10071024 ' 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.' ,&
10101035 ' --compiler COMPILER_NAME Specify a compiler name. The default is ' , &
10111036 ' "gfortran" unless set by the environment ' , &
10121037 ' variable FPM_COMPILER. ' , &
@@ -1069,8 +1094,16 @@ subroutine set_help()
10691094 ' OPTIONS' , &
10701095 ' --list list all installable targets for this project,' , &
10711096 ' 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.' ,&
10741107 ' --no-rebuild do not rebuild project before installation' , &
10751108 ' --prefix DIR path to installation directory (requires write access),' , &
10761109 ' the default prefix on Unix systems is $HOME/.local' , &
0 commit comments