aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-03-27 12:31:38 +0200
committerKristian Evers <kristianevers@gmail.com>2018-03-27 13:27:34 +0200
commitd87a68a8d3cbda69f8244830601096bcd64fa3ba (patch)
tree358803bd86575d50beb79e91ceb8ecfdefae62a5
parent0962d1ecf116e2eeeccfa6ce5c9613407691f38c (diff)
downloadPROJ-d87a68a8d3cbda69f8244830601096bcd64fa3ba.tar.gz
PROJ-d87a68a8d3cbda69f8244830601096bcd64fa3ba.zip
Document --version option in cct and gie
-rw-r--r--docs/source/apps/cct.rst4
-rw-r--r--docs/source/apps/gie.rst4
-rw-r--r--src/cct.c1
-rw-r--r--src/gie.c1
4 files changed, 10 insertions, 0 deletions
diff --git a/docs/source/apps/cct.rst b/docs/source/apps/cct.rst
index 9153e29b..dc2944f2 100644
--- a/docs/source/apps/cct.rst
+++ b/docs/source/apps/cct.rst
@@ -49,6 +49,10 @@ The following control parameters can appear in any order:
Write non-essential, but potentially useful, information to stderr.
Repeat for additional information (``-vv``, ``-vvv``, etc.)
+.. option:: --version
+
+ Print version number.
+
The *+args* arguments are associated with coordinate operation parameters.
Usage varies with operation.
diff --git a/docs/source/apps/gie.rst b/docs/source/apps/gie.rst
index f94c1171..41664660 100644
--- a/docs/source/apps/gie.rst
+++ b/docs/source/apps/gie.rst
@@ -47,6 +47,10 @@ already employed for compiling the library.
List the PROJ internal system error codes
+.. option:: --version
+
+ Print version number
+
Tests for :program:`gie` are defined in simple text files. Usually having the
extension ``.gie``. Test for :program:`gie` are written in the purpose-build command language for gie.
The basic functionality of the gie command language is implemented through just
diff --git a/src/cct.c b/src/cct.c
index 8096986d..476ff174 100644
--- a/src/cct.c
+++ b/src/cct.c
@@ -117,6 +117,7 @@ static const char usage[] = {
" --verbose Alias for -v\n"
" --inverse Alias for -I\n"
" --help Alias for -h\n"
+ " --version Print version number\n"
"--------------------------------------------------------------------------------\n"
"Operator Specs:\n"
"--------------------------------------------------------------------------------\n"
diff --git a/src/gie.c b/src/gie.c
index 5685a6c2..68bb4a43 100644
--- a/src/gie.c
+++ b/src/gie.c
@@ -221,6 +221,7 @@ static const char usage[] = {
" --verbose Alias for -v\n"
" --help Alias for -h\n"
" --list Alias for -l\n"
+ " --version Print version number\n"
"--------------------------------------------------------------------------------\n"
"Examples:\n"
"--------------------------------------------------------------------------------\n"