OS Manuals

/usr/bin/udunits2

Library for handling of units of physical quantities

From udunits 2.2.28-r7 (os), captured 2026-11-05 by running udunits2 --help (exit 1). permalink

/usr/bin/udunits2: invalid option -- '-'
Usage:
    udunits2 -h
    udunits2 [-A|-L|-U] [-r] [-H <have>] [-W <want>] [<XML_file>]

where:
    -A          Use ASCII encoding (default).
    -L          Use ISO-8859-1 (ISO Latin-1) encoding.
    -U          Use UTF-8 encoding.
    -h          Help.  Print this message.
    -r          Reveal any problems in the database.
    -H <have>   Use <have> unit for conversion. Default is reply to prompt.
    -W <want>   Use <want> unit for conversion. Empty string requests
                definition of <have> unit. Default is reply to prompt.
    <XML_file>  XML database file. Default is "/usr/share/udunits/udunits2.xml".
Options (7)
OptionDescriptionSource
-AUse ASCII encoding (default).help
-LUse ISO-8859-1 (ISO Latin-1) encoding.help
-UUse UTF-8 encoding.help
-hHelp.help
-rReveal any problems in the database.help
-H haveUse <have> unit for conversion.help
-W wantUse <want> unit for conversion.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.