ICU-900 Fixed some compiler warnings.

X-SVN-Rev: 6784
This commit is contained in:
George Rhoten 2001-11-12 18:48:53 +00:00
parent 4edc6ecd4c
commit b1d912bd22

View File

@ -133,7 +133,8 @@ main(int argc, char *argv[]) {
options[2].value = "."; options[2].value = ".";
argc = u_parseArgs(argc, argv, sizeof(options) / sizeof(*options), options); argc = u_parseArgs(argc, argv, sizeof(options) / sizeof(*options), options);
if ((ishelp = options[0].doesOccur || options[1].doesOccur) || argc != 2) { ishelp = options[0].doesOccur;
if ((ishelp || options[1].doesOccur) || argc != 2) {
fprintf(stderr, fprintf(stderr,
"%csage: %s [ -h, -?, --help ] [ -n ] [ -C, --comment ] [ -d, --destdir destination ] archive\n", ishelp ? 'U' : 'u', pname); "%csage: %s [ -h, -?, --help ] [ -n ] [ -C, --comment ] [ -d, --destdir destination ] archive\n", ishelp ? 'U' : 'u', pname);
if (ishelp) { if (ishelp) {