aboutsummaryrefslogtreecommitdiff
path: root/src/apps/cs2cs.cpp
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2019-03-24 11:56:35 +0000
committerChris Mayo <aklhfex@gmail.com>2019-03-24 11:56:35 +0000
commit1eadd02ac0b28486e98aed9407f27c4956619bae (patch)
tree94cce7896e4abcaab0a1095600bf2e79c271fa31 /src/apps/cs2cs.cpp
parentd089e17fde8a636198cf21f1045fc6bee20d987d (diff)
downloadPROJ-1eadd02ac0b28486e98aed9407f27c4956619bae.tar.gz
PROJ-1eadd02ac0b28486e98aed9407f27c4956619bae.zip
Doc: consistently use +opt and brackets
+opt represents one parameter. An ellipsis indicates additional instances of the previous parameter may be given. Spaces are used between parameters and before an ellipsis, not purely to format brackets. See man(1) SYNOPSIS conventions.
Diffstat (limited to 'src/apps/cs2cs.cpp')
-rw-r--r--src/apps/cs2cs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apps/cs2cs.cpp b/src/apps/cs2cs.cpp
index dafd06f8..b6a0f2ac 100644
--- a/src/apps/cs2cs.cpp
+++ b/src/apps/cs2cs.cpp
@@ -68,8 +68,8 @@ static const char *oform =
static char oform_buffer[16]; /* buffer for oform when using -d */
static const char *oterr = "*\t*"; /* output line for unprojectable input */
static const char *usage =
- "%s\nusage: %s [ -dDeEfIlrstvwW [args] ] [ +opts[=arg] ]\n"
- " [+to [+opts[=arg] [ files ]\n";
+ "%s\nusage: %s [-dDeEfIlrstvwW [args]] [+opt[=arg] ...]\n"
+ " [+to +opt[=arg] ...] [file ...]\n";
static double (*informat)(const char *,
char **); /* input data deformatter function */