Closed davelab6 closed 9 years ago
The --help
and -h
args no longer work
$ pyfontaine -h
error: too few arguments
https://github.com/davelab6/pyfontaine/commit/44d563cad2cc74185e151cefe2ee37e9e1579130
vitaly@piranha:~/Documents/pyfontaine$ pyfontaine
pyFontaine 1.3.3 (https://github.com/davelab6/pyfontaine)
usage: pyfontaine [-h] [--update-data] [--disable-unames] [--missing] [--text]
[--xml] [--json] [--wiki] [--csv] [--show-hilbert]
[--set SET] [--text-compact] [--collections COLLECTIONS]
[--new-glyphmap-txt] [--new-charset-txt] [--new-charset-py]
[--new-glyphmap-py] [--compare-chars] [--compare-glyphs]
[-V]
font [font ...]
pyfontaine compares fonts, characters or glyphnames to defined glyph lists or
character sets.
positional arguments:
font
optional arguments:
-h, --help show this help message and exit
--update-data Clean application cache
--disable-unames This will prevent using Unicode names data
--missing Print additionally a list of each unicode value that
is missing from a character set
--text Output information in plain text
--xml Output information into XML
--json Output information in JSON
--wiki Print information in wikipedia format
--csv Output font coverage information in CSV. If glyphs
have been passed to script then it shows rows with
character set and values True if glyph exists in
collections
--show-hilbert Create PNG files represented coveragin of font charset
in coverage_pngs directory
--set SET Specify the sets based on either common or native name
--text-compact
--collections COLLECTIONS
Specify collections of charsets to print
--new-glyphmap-txt Output a glyphlist from the glyphs present in a font
to a text file.
--new-charset-txt Output a list of characters from the characters
present in a font to a text file.
--new-charset-py Output a list of characters from the characters
present in a font to a python file.
--new-glyphmap-py Output a list of glyphs from the glyphs present in a
font to a python file.
--compare-chars Compare chars in fonts.
--compare-glyphs Compare glyphs in fonts.
-V, --version show program's version number and exit
vitaly@piranha:~/Documents/pyfontaine$ pyfontaine -h
usage: pyfontaine [-h] [--update-data] [--disable-unames] [--missing] [--text]
[--xml] [--json] [--wiki] [--csv] [--show-hilbert]
[--set SET] [--text-compact] [--collections COLLECTIONS]
[--new-glyphmap-txt] [--new-charset-txt] [--new-charset-py]
[--new-glyphmap-py] [--compare-chars] [--compare-glyphs]
[-V]
font [font ...]
pyfontaine compares fonts, characters or glyphnames to defined glyph lists or
character sets.
positional arguments:
font
optional arguments:
-h, --help show this help message and exit
--update-data Clean application cache
--disable-unames This will prevent using Unicode names data
--missing Print additionally a list of each unicode value that
is missing from a character set
--text Output information in plain text
--xml Output information into XML
--json Output information in JSON
--wiki Print information in wikipedia format
--csv Output font coverage information in CSV. If glyphs
have been passed to script then it shows rows with
character set and values True if glyph exists in
collections
--show-hilbert Create PNG files represented coveragin of font charset
in coverage_pngs directory
--set SET Specify the sets based on either common or native name
--text-compact
--collections COLLECTIONS
Specify collections of charsets to print
--new-glyphmap-txt Output a glyphlist from the glyphs present in a font
to a text file.
--new-charset-txt Output a list of characters from the characters
present in a font to a text file.
--new-charset-py Output a list of characters from the characters
present in a font to a python file.
--new-glyphmap-py Output a list of glyphs from the glyphs present in a
font to a python file.
--compare-chars Compare chars in fonts.
--compare-glyphs Compare glyphs in fonts.
-V, --version show program's version number and exit
There are two help outputs, one shown with no input:
And one shown with the
-h
arg:The first shouldn't happen, it should just be the 2nd one :)