aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinit current directory[i] <urbanjost@comcast.net>2020-09-22 23:08:30 -0400
committerinit current directory[i] <urbanjost@comcast.net>2020-10-01 01:01:18 -0400
commitf41cdd52f342ddc5ee1daf932edb9afb2fb5c869 (patch)
tree00d90beb1584dbcc89e01015bef9a9d79e2be318
parent69f5a713223281f7d5f5cef8ea552a37ce6812b3 (diff)
downloadfpm-f41cdd52f342ddc5ee1daf932edb9afb2fb5c869.tar.gz
fpm-f41cdd52f342ddc5ee1daf932edb9afb2fb5c869.zip
remove --usage references from help text
-rw-r--r--fpm/src/fpm_command_line.f909
1 files changed, 4 insertions, 5 deletions
diff --git a/fpm/src/fpm_command_line.f90 b/fpm/src/fpm_command_line.f90
index 51c1172..ee56fa1 100644
--- a/fpm/src/fpm_command_line.f90
+++ b/fpm/src/fpm_command_line.f90
@@ -185,7 +185,7 @@ contains
' build(1) - the fpm(1) subcommand to build a project', &
'SYNOPSIS ', &
' fpm build [--release] build ', &
- ' fpm build --help|--version|--usage ', &
+ ' fpm build --help|--version ', &
' ', &
'DESCRIPTION ', &
' Finds the Fortran source files in app/, test/, and ', &
@@ -205,7 +205,6 @@ contains
' instead of full debug options. ', &
' --help print this help and exit ', &
' --version print program version information and exit ', &
- ' --usage show table of options and exit ', &
' ', &
'EXAMPLES ', &
' Sample commands: ', &
@@ -272,7 +271,7 @@ contains
'SYNOPSIS ', &
' fpm new NAME [--with-executable] [--with-test] ', &
' ', &
- ' fpm new --help|--version|--usage ', &
+ ' fpm new --help|--version ', &
' ', &
'DESCRIPTION ', &
' Create a new project in a new directory ', &
@@ -493,7 +492,7 @@ contains
'SYNTAX ', &
' fpm SUBCOMMAND [SUBCOMMAND_OPTIONS] ', &
' ', &
- ' fpm --help|--version|--usage ', &
+ ' fpm --help|--version ', &
' ', &
'DESCRIPTION ', &
' fpm is a package manager that helps you create Fortran projects that are ', &
@@ -547,7 +546,7 @@ contains
! Note: will not get here if --version or --usage or --help is present on commandline
write(stderr,'(*(a))')'*fpm* error: unknown or missing subcommand [', trim(cmdarg), ']'
help_text=[character(len=80) :: &
- ' Usage: fpm [COMMAND [[--release] [--]|[--help|--version|--usage] ', &
+ ' Usage: fpm [COMMAND [[--release] [--]|[--help|--version] ', &
' Enter "fpm --help" for more information ', &
'' ]
write(stderr,'(g0)')(trim(help_text(i)), i=1, size(help_text) )