mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-18 11:14:22 +00:00
ICU-1220 add -? for compatibility with other tools
X-SVN-Rev: 6737
This commit is contained in:
parent
085bb39818
commit
a150871504
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
// -*- Coding: utf-8; -*- [all uconv resource files]
|
||||
// Copyright (c) 2000 IBM, Inc. and Others.
|
||||
// $Revision: 1.3 $
|
||||
// $Revision: 1.4 $
|
||||
//
|
||||
// Root translation file for uconv messages.
|
||||
// So you want to translate this file??? Great!
|
||||
|
@ -30,7 +30,7 @@ root
|
|||
|
||||
lcUsageWord { "usage" }
|
||||
ucUsageWord { "Usage" }
|
||||
usage { "{0}: {1} [ -h, --help ] [ -l, --list ] [ -L, --list-transliterators ] [ -x transliterator ] -f, --from-code code -t, --to-code code [ file ]\n" }
|
||||
usage { "{0}: {1} [ -h, -?, --help ] [ -l, --list ] [ -L, --list-transliterators ] [ -x transliterator ] -f, --from-code code -t, --to-code code [ file ]\n" }
|
||||
|
||||
help { "Options: -h, --help\t\tprint this message\n"
|
||||
" -l, --list\t\tlist all available encodings\n"
|
||||
|
|
|
@ -331,7 +331,7 @@ int main(int argc, char** argv)
|
|||
printAllConverters(pname);
|
||||
goto normal_exit;
|
||||
}
|
||||
else if (strcmp("-h", *iter) == 0 || !strcmp("--help", *iter))
|
||||
else if (strcmp("-h", *iter) == 0 || !strcmp("-?", *iter) == 0 || !strcmp("--help", *iter))
|
||||
{
|
||||
usage(pname, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue