From d87a68a8d3cbda69f8244830601096bcd64fa3ba Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Tue, 27 Mar 2018 12:31:38 +0200 Subject: Document --version option in cct and gie --- docs/source/apps/cct.rst | 4 ++++ docs/source/apps/gie.rst | 4 ++++ src/cct.c | 1 + src/gie.c | 1 + 4 files changed, 10 insertions(+) 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" -- cgit v1.2.3