aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinit current directory[i] <urbanjost@comcast.net>2020-10-16 22:42:33 -0400
committerinit current directory[i] <urbanjost@comcast.net>2020-10-16 22:42:33 -0400
commitfea59a2162eb471defc4099a98c7a996181c3d6a (patch)
treee89952bf82261928c277c85f9682353783ad72d7
parent814302fe074a04368a57f9252f966f2c6a20ebab (diff)
downloadfpm-fea59a2162eb471defc4099a98c7a996181c3d6a.tar.gz
fpm-fea59a2162eb471defc4099a98c7a996181c3d6a.zip
mention --list option on main command
-rw-r--r--fpm/src/fpm_command_line.f907
1 files changed, 4 insertions, 3 deletions
diff --git a/fpm/src/fpm_command_line.f90 b/fpm/src/fpm_command_line.f90
index 1ea170e..d67cd41 100644
--- a/fpm/src/fpm_command_line.f90
+++ b/fpm/src/fpm_command_line.f90
@@ -287,7 +287,7 @@ contains
subroutine set_help()
help_list_nodash=[character(len=80) :: &
- 'USAGE: fpm [ SUBCOMMAND [SUBCOMMAND_OPTIONS] ] | [--help|--version] ', &
+ 'USAGE: fpm [ SUBCOMMAND [SUBCOMMAND_OPTIONS] ]|[--list|--help|--version]', &
' where SUBCOMMAND is commonly new|build|run|test ', &
' ', &
' subcommand may be one of ', &
@@ -320,7 +320,7 @@ contains
'SYNOPSIS ', &
' fpm SUBCOMMAND [SUBCOMMAND_OPTIONS] ', &
' ', &
- ' fpm --help|--version ', &
+ ' fpm --help|--version|--list ', &
' ', &
'DESCRIPTION ', &
' fpm(1) is a package manager that helps you create Fortran projects ', &
@@ -360,7 +360,8 @@ contains
' in "build/*_debug/". When this flag is present build ', &
' output goes into "build/*_release/" and common compiler ', &
' optimization flags are used. ', &
- ' --list list candidates instead of building or running them ', &
+ ' --list List candidates instead of building or running them. ', &
+ ' On the fpm command this shows a brief list of subcommands.', &
' -- ARGS Arguments to pass to executables/tests ', &
' --help Show help text and exit. Valid for all subcommands. ', &
' --version Show version information and exit. Valid for all ', &