README.md: udpate to new CLI options

This commit is contained in:
Mario Fink 2021-06-28 16:37:16 +02:00
parent 2f9c550323
commit d098273816

View File

@ -171,14 +171,18 @@ Options:
-c, --listchannels list channels -c, --listchannels list channels
-b, --listblocks list IMC key-blocks -b, --listblocks list IMC key-blocks
-d, --output output directory to print channels -d, --output output directory to print channels
-s, --delimiter csv delimiter/separator char for output
-h, --help show this help message -h, --help show this help message
-v, --version display version -v, --version display version
``` ```
For instance, to show a list of all channels included in `sample-data.raw`, you For instance, to show a list of all channels included in `sample-data.raw`, you
do `imctermite sample-data.raw --listchannels`. No output files are do `imctermite sample-data.raw --listchannels`. No output files are
written by default. Output files are written only when an existing (!) directory is provided as argument to written by default. Output files are written only when an existing (!) directory
the `--output` option. is provided as argument to the `--output` option. By default, every output file
is written using a `,` delimiter. You may provide any custom separator with the
option `--delimiter`. For example, in order to use `|`, the binary is call with
options `imctermite sample-data.raw -b -c -s '|'`.
### Python ### Python
@ -218,4 +222,3 @@ in the Python folder.
- https://cython.readthedocs.io/en/latest/src/userguide/wrapping_CPlusPlus.html - https://cython.readthedocs.io/en/latest/src/userguide/wrapping_CPlusPlus.html
- https://github.com/Apollo3zehn/ImcFamosFile - https://github.com/Apollo3zehn/ImcFamosFile
- https://pypi.org/help/#apitoken - https://pypi.org/help/#apitoken