Fix badly identified options.

Concerns the 'properties' mode:
  -n -> -d
  -k -> -b

They were rightly used in the implementation, but not in the help message.
This commit is contained in:
Saleem Edah-Tally
2023-10-03 11:33:42 +02:00
parent 0b747e190b
commit 717c39387c
3 changed files with 8 additions and 8 deletions

View File

@@ -60,10 +60,10 @@ This project links to the [utf8proc](https://github.com/JuliaStrings/utf8proc) l
-u, --isupper: displays 1 if the codepoint refers to an upper-case character,
0 otherwise
-c, --category: determines the category of a codepoint (Letter, Number, Symbol...)
-n, --direction: determines the bidirectional class of a codepoint; see utf8proc.h
-d, --direction: determines the bidirectional class of a codepoint; see utf8proc.h
-i, --decompositiontype: determines the decomposition type of a codepoint;
see utf8proc.h
-k, --boundclass: determines the boundclass property of a codepoint; see utf8proc.h
-b, --boundclass: determines the boundclass property of a codepoint; see utf8proc.h
-h, --help: show this message
The input can be piped in or read from stdin. Pass in a single character for simplicity.

View File

@@ -140,11 +140,11 @@ msgid ""
"character, 0 otherwise\n"
" -c, --category: determines the category of a codepoint (Letter, Number, "
"Symbol...)\n"
" -n, --direction: determines the bidirectional class of a codepoint; see "
" -d, --direction: determines the bidirectional class of a codepoint; see "
"utf8proc.h\n"
" -i, --decompositiontype: determines the decomposition type of a codepoint; "
"see utf8proc.h\n"
" -k, --boundclass: determines the boundclass property of a codepoint; see "
" -b, --boundclass: determines the boundclass property of a codepoint; see "
"utf8proc.h\n"
" -h, --help: show this message\n"
"\n"
@@ -160,11 +160,11 @@ msgstr ""
"majuscule d'un caractère, sinon 0\n"
" -c, --category: détermine la catégorie d'un point de code (Lettre, Nombre, "
"Symbole...)\n"
" -n, --direction: détermine la bidirection d'un point de code; voir "
" -d, --direction: détermine la bidirection d'un point de code; voir "
"utf8proc.h\n"
" -i, --decompositiontype: détermine le type de décomposition d'un point de "
"code; voir utf8proc.h\n"
" -k, --boundclass: détermine la propriété 'boundclass' d'un point de code; "
" -b, --boundclass: détermine la propriété 'boundclass' d'un point de code; "
"voir utf8proc.h\n"
" -h, --help: afficher ce message\n"
"\n"

View File

@@ -114,9 +114,9 @@ void propertiesShowHelp()
"\n\n -l, --islower: displays 1 if the codepoint refers to a lower-case character, 0 otherwise"
"\n -u, --isupper: displays 1 if the codepoint refers to an upper-case character, 0 otherwise"
"\n -c, --category: determines the category of a codepoint (Letter, Number, Symbol...)"
"\n -n, --direction: determines the bidirectional class of a codepoint; see utf8proc.h"
"\n -d, --direction: determines the bidirectional class of a codepoint; see utf8proc.h"
"\n -i, --decompositiontype: determines the decomposition type of a codepoint; see utf8proc.h"
"\n -k, --boundclass: determines the boundclass property of a codepoint; see utf8proc.h"
"\n -b, --boundclass: determines the boundclass property of a codepoint; see utf8proc.h"
"\n -h, --help: show this message"
"\n\nThe input can be piped in or read from stdin. Pass in a single character for simplicity.");