| Index: source/tools/genbrk/genbrk.cpp
|
| diff --git a/source/tools/genbrk/genbrk.cpp b/source/tools/genbrk/genbrk.cpp
|
| index 72c6cffe7b5296de8678efae04b47597408f6a07..789d2ed12abae999167d68d4a8500303bd27fa9e 100644
|
| --- a/source/tools/genbrk/genbrk.cpp
|
| +++ b/source/tools/genbrk/genbrk.cpp
|
| @@ -1,6 +1,6 @@
|
| /*
|
| **********************************************************************
|
| -* Copyright (C) 2002-2009, International Business Machines
|
| +* Copyright (C) 2002-2015, International Business Machines
|
| * Corporation and others. All Rights Reserved.
|
| **********************************************************************
|
| *
|
| @@ -56,6 +56,7 @@ static UOption options[]={
|
| UOPTION_ICUDATADIR, /* 5 */
|
| UOPTION_DESTDIR, /* 6 */
|
| UOPTION_COPYRIGHT, /* 7 */
|
| + UOPTION_QUIET, /* 8 */
|
| };
|
|
|
| void usageAndDie(int retCode) {
|
| @@ -66,6 +67,7 @@ void usageAndDie(int retCode) {
|
| "\t-V or --version show a version message\n"
|
| "\t-c or --copyright include a copyright notice\n"
|
| "\t-v or --verbose turn on verbose output\n"
|
| + "\t-q or --quiet do not display warnings and progress\n"
|
| "\t-i or --icudatadir directory for locating any needed intermediate data files,\n"
|
| "\t followed by path, defaults to %s\n"
|
| "\t-d or --destdir destination directory, followed by the path\n",
|
| @@ -338,7 +340,9 @@ int main(int argc, char **argv) {
|
| u_cleanup();
|
|
|
|
|
| - printf("genbrk: tool completed successfully.\n");
|
| + if(!options[8].doesOccur) {
|
| + printf("genbrk: tool completed successfully.\n");
|
| + }
|
| return 0;
|
|
|
| #endif /* #if !UCONFIG_NO_BREAK_ITERATION */
|
|
|