diff --git a/dbg/dbg.c b/dbg/dbg.c index 5bb33b2d8..14d20347a 100644 --- a/dbg/dbg.c +++ b/dbg/dbg.c @@ -144,7 +144,7 @@ static char const * const usage = "\t-h\t\tprint help message and exit\n" "\t-v level\tset verbosity level: (def level: 0)\n" "\t-V\t\tprint version string and exit\n" -"\t-q\t\tquiet mode: silence msg(), warn(), warnp() if -v 0 (def: not quiet)\n" +"\t-q\t\tquiet mode: silence msg(), warn(), warnp() if -v 0 (def: loud :-) )\n" "\t-e errno\tsimulate setting of errno to cause errp() to be involved\n" "\n" "\tfoo\t\ta required arg\n" diff --git a/jparse/CHANGES.md b/jparse/CHANGES.md index ef86a334e..381a81c9e 100644 --- a/jparse/CHANGES.md +++ b/jparse/CHANGES.md @@ -3,24 +3,24 @@ ## Release 2.1.2 2024-11-16 -The `-e` for `jstrencode(1)`, only encloses each decoded arg in escaped +The `-e` for `jstrdecode(1)`, only encloses each decoded arg in escaped double quotes when there are multiple args. If there is only one arg, no escaped double quotes are added. -The usage message for `-Q` and `-e` for `jstrencode(1)` has been clarified +The usage message for `-Q` and `-e` for `jstrdecode(1)` has been clarified as well as being in sync with the above mentioned `-e` change. -The new version of each of the tools `jstrencode(1)` and `jstrdecode(1)` is -`"2.1.2 2024-11-16"` and the library is `"2.1.0 2024-11-15"`. +The new version of `jstrdecode(1)` is `"2.1.2 2024-11-16"` +and the library is `"2.1.0 2024-11-15"`. Improved `test_jparse/jstr_test.sh` to show, when some tests fail, showing what was expected vs the result found when what was expected was a simple string (and not a file). Added new tests to `test_jparse/jstr_test.sh` as per the above -changes to `jstrencode(1)`. +changes to `jstrdecode(1)`. -Updated `jstrencode(1)` man page according to the above. +Updated `jstrdecode(1)` man page according to the above. The new version of `test_jparse/jstr_test.sh` is now "1.2.3 2024-11-16".