Commit f57f1028 authored by Costin Grigoras's avatar Costin Grigoras
Browse files

@Adrian fix `find` called without a useful argument

parent 8afe0cc1
......@@ -313,6 +313,11 @@ public class JAliEnCommandfind extends JAliEnBaseCommand {
offset = 0;
}
}
if (alPaths.size()==0) {
setArgumentsOk(false);
return;
}
if (alPaths.size() == 1) {
// can we infer the path and the pattern from the only argument we have?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment