Skip to content

Commit

Permalink
Document --version option in cct and gie
Browse files Browse the repository at this point in the history
  • Loading branch information
kbevers committed Mar 27, 2018
1 parent 6248856 commit 5160da1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/source/apps/cct.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 4 additions & 0 deletions docs/source/apps/gie.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/cct.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions src/gie.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5160da1

Please sign in to comment.