@@ -152,6 +152,7 @@ subroutine get_command_line_settings(cmd_settings)
152
152
call set_args(' &
153
153
& --target " " &
154
154
& --list F &
155
+ & --all F &
155
156
& --release F&
156
157
& --example F&
157
158
& --runner " " &
@@ -171,6 +172,9 @@ subroutine get_command_line_settings(cmd_settings)
171
172
call split(sget(' target' ),tnames,delimiters= ' ,:' )
172
173
names= [character (len= max (len (names),len (tnames))) :: names,tnames]
173
174
endif
175
+ if (lget(' all' ))then
176
+ names= [character (len= max (len (names),1 )) :: names,' *' ]
177
+ endif
174
178
175
179
allocate (fpm_run_settings :: cmd_settings)
176
180
val_runner= sget(' runner' )
@@ -696,7 +700,7 @@ subroutine set_help()
696
700
' By default applications in /app or specified as "executable" in your ' , &
697
701
' "fpm.toml" manifest are used. Alternatively demonstration programs ' , &
698
702
' in example/ or specified in the "example" section in "fpm.toml" ' , &
699
- ' can be executed with this subcommand. ' , &
703
+ ' can be executed. ' , &
700
704
' ' , &
701
705
' OPTIONS ' , &
702
706
' --target NAME(s) list of specific application names to execute. ' , &
@@ -707,6 +711,7 @@ subroutine set_help()
707
711
' Simple "globbing" is supported where "?" represents ' , &
708
712
' any single character and "*" represents any string. ' , &
709
713
' Therefore a quoted asterisk '' *'' runs all programs. ' , &
714
+ ' --all An alias for "--target '' *'' . All targets are selected. ' , &
710
715
' --example run example programs instead of applications ' , &
711
716
' --release selects the optimized build instead of the debug build. ' , &
712
717
' --compiler COMPILER_NAME Specify a compiler name. The default is ' , &
0 commit comments