From 526970178627bbf0dfbff04ba783fd3646214fad Mon Sep 17 00:00:00 2001 From: mwtoews Date: Sat, 5 May 2018 22:57:15 +1200 Subject: cct usage: add 'I' to docs, re-order usage to same as docs --- docs/source/apps/cct.rst | 6 +++++- src/cct.c | 6 +++--- 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= 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" -- cgit v1.2.3