Skip to content

Commit dc32c50

Browse files
committed
doc(fpm_command_line): fix help text
Since version 0.8.0, fpm adds the `--flag` arguments to the default arguments. Overriding the defaults requires using the [fortran] keyword in the manifest. This commit edits the `--help` output to reflect the current behavior.
1 parent f0d2e91 commit dc32c50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/fpm_command_line.f90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ module fpm_command_line
170170
' --flag FFLAGS selects compile arguments for the build, the default value is',&
171171
' set by the FPM_FFLAGS environment variable. These are added ',&
172172
' to the profile options if --profile is specified, else these ',&
173-
' options override the defaults. Note object and .mod ',&
173+
' are added to the defaults. To override the defaults, use the ',&
174+
' keyword [fortran] in the manifest. Note object and .mod ',&
174175
' directory locations are always built in. ',&
175176
' --c-flag CFLAGS selects compile arguments specific for C source in the build.',&
176177
' The default value is set by the FPM_CFLAGS environment ',&

0 commit comments

Comments
 (0)