diff --git a/bin/README.md b/bin/README.md index b529931cf..a6442d8e3 100644 --- a/bin/README.md +++ b/bin/README.md @@ -11,8 +11,67 @@ repo](https://github.com/ioccc-src/temp-test-ioccc). ## [bin/](index.html) tools +All tools in this directory support a number of options that can be used to get +help, diagnose problems, see progress etc. These options are as follows: -### [all-run.sh](%%DOCROOT_SLASH%%bin/all-run.sh) +### Get help / usage string of a tool + +If you need to remember the syntax of the tool or get certain notes about +different options, you can use the `-h` option. + +For instance if you want help on the [all-run.sh](index.html#all-run) tool +from the root directory, you would do: + + +``` + bin/all-run.sh -h +``` + + +### Set verbosity level of a tool + +If, however, you want verbosity, say for debugging purposes or to see what is +going on more, you should use the `-v level` option. For instance if you wish to +see what is going on with the +[quick-readme2index.sh](index.html#quick-readme2index) tool, you might do: + + +``` + bin/quick-readme2index.sh -v 3 +``` + +to set the verbosity level to `3`. The default for verbosity is `0`, no +verbosity, though using the [top level Makefile](%%REPO_URL%%/Makefile) will, +for some tools, set a verbosity level. + +### Get version string of a tool + +If you just want to know what version the tool is, you can use the `-V` option. +For instance to see what version the [chk-entry.sh](index.html#chk-entry) tool +is, you would do: + +``` + bin/chk-entry.sh -V +``` + +These options, and especially `-h` and `-v level`, can be very useful to get +basic usage information and to see what is going on when the tool is running. +For more details on each tool, including the ones mentioned above, see below. As +you go through each tool, if you need to understand more of it, we recommend +that you use the `-h` option on it first. + + +### Other notes + +There are some scripts that are invoked by the +[inc/md2html.cfg](%%REPO_URL%%/inc/md2html.cfg) file but some of these tools can be directly +invoked as well, should you wish to see their output or if you have some odd +need to do so. + + +