ICU-1220 usage() if no arg to -f or -t.
X-SVN-Rev: 7873
This commit is contained in:
parent
f5fcc22bbb
commit
a5f2175b26
@ -771,10 +771,14 @@ int main(int argc, char **argv)
|
||||
iter++;
|
||||
if (iter != end)
|
||||
fromcpage = *iter;
|
||||
else
|
||||
usage(pname, 1);
|
||||
} else if (strcmp("-t", *iter) == 0 || !strcmp("--to-code", *iter)) {
|
||||
iter++;
|
||||
if (iter != end)
|
||||
tocpage = *iter;
|
||||
else
|
||||
usage(pname, 1);
|
||||
} else if (strcmp("-x", *iter) == 0) {
|
||||
iter++;
|
||||
if (iter != end)
|
||||
|
Loading…
Reference in New Issue
Block a user