@@ -498,16 +498,15 @@ subroutine set_help()
498
498
' "fpm --help" or "fpm SUBCOMMAND --help" for detailed descriptions. ' , &
499
499
' ' ]
500
500
help_list_dash = [character (len= 80 ) :: &
501
- ! 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
502
501
' ' , &
503
502
' build [--compiler COMPILER_NAME] [--release] [--list] ' , &
504
503
' help [NAME(s)] ' , &
505
504
' new NAME [[--lib|--src] [--app] [--test] [--example]]| ' , &
506
505
' [--full|--bare][--backfill] ' , &
507
506
' update [NAME(s)] [--fetch-only] [--clean] [--verbose] ' , &
508
507
' list [--list] ' , &
509
- ' run [[--target] NAME(s)|--all] [--release] [--runner "CMD"] [--list] [--example] ' , &
510
- ' [--compiler COMPILER_NAME] [-- ARGS] ' , &
508
+ ' run [[--target] NAME(s)|--all] [--example] [-- release] [--runner "CMD"] ' , &
509
+ ' [--compiler COMPILER_NAME] [--list] [-- ARGS] ' , &
511
510
' test [[--target] NAME(s)] [--release] [--runner "CMD"] [--list] ' , &
512
511
' [--compiler COMPILER_NAME] [-- ARGS] ' , &
513
512
' install [--release] [--no-rebuild] [--prefix PATH] [options] ' , &
@@ -589,7 +588,7 @@ subroutine set_help()
589
588
' ' , &
590
589
' DESCRIPTION ' , &
591
590
' fpm(1) is a package manager that helps you create Fortran projects ' , &
592
- ' from source. ' , &
591
+ ' from source -- it automatically determines dependencies! ' , &
593
592
' ' , &
594
593
' Most significantly fpm(1) lets you draw upon other fpm(1) packages ' , &
595
594
' in distributed git(1) repositories as if the packages were a basic ' , &
@@ -697,11 +696,11 @@ subroutine set_help()
697
696
' fpm run --help|--version ' , &
698
697
' ' , &
699
698
' DESCRIPTION ' , &
700
- ' Run applications you have built in your fpm(1) project. ' , &
701
- ' By default applications in /app or specified as "executable" in your ' , &
702
- ' "fpm.toml" manifest are used. Alternatively demonstration programs ' , &
703
- ' in example/ or specified in the "example" section in "fpm.toml" ' , &
704
- ' can be executed. ' , &
699
+ ' Run the applications in your fpm(1) package. By default applications ' , &
700
+ ' in /app or specified as "executable" in your "fpm.toml" manifest are ' , &
701
+ ' used. Alternatively demonstration programs in example/ or specified in ' , &
702
+ ' the "example" section in "fpm.toml" can be executed. The applications ' , &
703
+ ' are automatically rebuilt before being run if they are out of date. ' , &
705
704
' ' , &
706
705
' OPTIONS ' , &
707
706
' --target NAME(s) list of specific application names to execute. ' , &
@@ -713,33 +712,35 @@ subroutine set_help()
713
712
' any single character and "*" represents any string. ' , &
714
713
' Therefore a quoted asterisk '' *'' runs all programs. ' , &
715
714
' --all An alias for "--target '' *'' ". All targets are selected. ' , &
716
- ' --example run example programs instead of applications ' , &
715
+ ' --example Run example programs instead of applications. ' , &
717
716
' --release selects the optimized build instead of the debug build. ' , &
718
717
' --compiler COMPILER_NAME Specify a compiler name. The default is ' , &
719
718
' "gfortran" unless set by the environment ' , &
720
719
' variable FPM_COMPILER. ' , &
721
720
' --runner CMD A command to prefix the program execution paths with. ' , &
722
721
' see "fpm help runner" for further details. ' , &
723
- ' --list list candidates instead of building or running them. ' , &
722
+ ' --list list pathname of candidates instead of running them. Note ' , &
723
+ ' out-of-date candidates will still be rebuilt before being ' , &
724
+ ' listed. ' , &
724
725
' -- ARGS optional arguments to pass to the program(s). The same ' , &
725
726
' arguments are passed to all program names specified. ' , &
726
727
' ' , &
727
728
' EXAMPLES ' , &
728
729
' fpm(1) - run project applications: ' , &
729
730
' ' , &
730
731
' # run all default programs in /app or as specified in "fpm.toml" ' , &
731
- ' fpm run '' * '' ' , &
732
+ ' fpm run --all ' , &
732
733
' ' , &
733
- ' # run default program using the compiler command "f90". If more ' , &
734
- ' # than one app exists a list displays and names must be specified. ' , &
734
+ ' # run default program built or to be built with the compiler command ' , &
735
+ ' # "f90". If more than one app exists a list displays and target names' , &
736
+ ' # are required. ' , &
735
737
' fpm run --compiler f90 ' , &
736
738
' ' , &
737
- ' # run example demonstration programs instead of the application ' , &
738
- ' # programs ( defaults can be overridden in "fpm.toml"). ' , &
739
+ ' # run example programs instead of the application programs. ' , &
739
740
' fpm run --example '' *'' ' , &
740
741
' ' , &
741
742
' # run a specific program and pass arguments to the command ' , &
742
- ' fpm run mytest -- -x 10 -y 20 --title "my title line" ' , &
743
+ ' fpm run myprog -- -x 10 -y 20 --title "my title line" ' , &
743
744
' ' , &
744
745
' # run production version of two applications ' , &
745
746
' fpm run --target prg1,prg2 --release ' , &
0 commit comments