@@ -54,8 +54,8 @@ public class InstrumentUploadMissingFind implements MFCommand {
privateStringtoken;
@Option(names={"-l",
"--level"},paramLabel="<n>",description="Level of sub-directories to search. Defaults to 1.",defaultValue="1")
privateintlevel;
"--level"},paramLabel="<n>",description="Level ( or level range) of sub-directories to search. For example, use 1-3 to specify the range from level 1 to level 3. Defaults to 1.",defaultValue="1",converter=LevelRange.Converter.class)
privateLevelRangelevel;
@Option(names={"-a",
"--after"},paramLabel="<dd-MMM-yyyy>",description="Include only the data directories modified after this date (inclusive).",converter=DateTimeConverter.class)
...
...
@@ -102,9 +102,9 @@ public class InstrumentUploadMissingFind implements MFCommand {
if(!settings.hasShareableIdOrToken()){
thrownewIllegalArgumentException("No shareable id or token is specified!");
}
if(this.level>0){
settings.setLevel(this.level);
}
settings.setLevel(this.level);
if(this.modifiedAfter!=null){
settings.setAfter(this.modifiedAfter);
}
...
...
@@ -222,8 +222,8 @@ public class InstrumentUploadMissingFind implements MFCommand {