aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormwtoews <mwtoews@gmail.com>2018-05-05 22:57:15 +1200
committermwtoews <mwtoews@gmail.com>2018-05-05 22:57:15 +1200
commit526970178627bbf0dfbff04ba783fd3646214fad (patch)
treea0bff8517fd89ea8d9313cf7c17f59d08875b6d3
parent7ec02f43a42cf89957b60f5bb2b03deb90b31f1b (diff)
downloadPROJ-526970178627bbf0dfbff04ba783fd3646214fad.tar.gz
PROJ-526970178627bbf0dfbff04ba783fd3646214fad.zip
cct usage: add 'I' to docs, re-order usage to same as docs
-rw-r--r--docs/source/apps/cct.rst6
-rw-r--r--src/cct.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/docs/source/apps/cct.rst b/docs/source/apps/cct.rst
index 8cd6c0c6..a08f1471 100644
--- a/docs/source/apps/cct.rst
+++ b/docs/source/apps/cct.rst
@@ -13,7 +13,7 @@ cct
Synopsis
********
- **cct** [ **-cotvz** [ args ] ] *+opts[=arg]* file[s]
+ **cct** [ **-cIostvz** [ args ] ] *+opts[=arg]* file[s]
Description
***********
@@ -32,6 +32,10 @@ The following control parameters can appear in any order:
Specify input columns for (up to) 4 input parameters. Defaults to 1,2,3,4.
+.. option:: -I
+
+ Do the inverse transformation.
+
.. option:: -o <output file name>, --output=<output file name>
Specify the name of the output file.
diff --git a/src/cct.c b/src/cct.c
index 956f91b3..d9d25329 100644
--- a/src/cct.c
+++ b/src/cct.c
@@ -101,12 +101,12 @@ static const char usage[] = {
"--------------------------------------------------------------------------------\n"
"Options:\n"
"--------------------------------------------------------------------------------\n"
- " -o /path/to/file Specify output file name\n"
" -c x,y,z,t Specify input columns for (up to) 4 input parameters.\n"
" Defaults to 1,2,3,4\n"
- " -z value Provide a fixed z value for all input data (e.g. -z 0)\n"
- " -t value Provide a fixed t value for all input data (e.g. -t 0)\n"
" -I Do the inverse transformation\n"
+ " -o /path/to/file Specify output file name\n"
+ " -t value Provide a fixed t value for all input data (e.g. -t 0)\n"
+ " -z value Provide a fixed z value for all input data (e.g. -z 0)\n"
" -s n Skip n first lines of a infile\n"
" -v Verbose: Provide non-essential informational output.\n"
" Repeat -v for more verbosity (e.g. -vv)\n"