Skip to content
Snippets Groups Projects
Commit 4c021805 authored by ribeaudc's avatar ribeaudc
Browse files

remove: - 'verbose' option from the help.

SVN: 6683
parent 3f2fe9b7
No related branches found
No related tags found
No related merge requests found
......@@ -420,9 +420,9 @@ public abstract class AbstractChecker
return file;
}
protected static boolean getVerbose(final String[] args, final String programName)
protected static boolean isVerbose(final String[] args, final String programName)
{
return new Parameters(args, programName).getVerbose();
return new Parameters(args, programName).isVerbose();
}
protected IFile getFileOrFail(final IDirectory dataDir, final String name)
......
......@@ -54,7 +54,7 @@ public class HCSImageChecker extends AbstractChecker
final File bdsDirectory = getBdsDirectory(args, HCSImageChecker.class.getName());
final ProblemReport report =
new HCSImageChecker(getVerbose(args, HCSImageChecker.class.getName()))
new HCSImageChecker(isVerbose(args, HCSImageChecker.class.getName()))
.getHCSImageConsistencyReport(bdsDirectory);
printReportAndExit(report);
} catch (final Exception e)
......
......@@ -42,7 +42,8 @@ final class Parameters
@Argument()
private final List<String> args = new ArrayList<String>();
@Option(name = "v", longName = "verbose", skipForExample = true, usage = "Show more detailed problem report.")
// @Option(name = "v", longName = "verbose", skipForExample = true, usage = "Show more detailed
// problem report.")
private boolean verbose;
private final String programName;
......@@ -137,7 +138,7 @@ final class Parameters
return new File(filePath);
}
final boolean getVerbose()
final boolean isVerbose()
{
return verbose;
}
......
......@@ -54,7 +54,7 @@ public final class StructureChecker extends AbstractChecker
{
final File bdsDirectory = getBdsDirectory(args, StructureChecker.class.getName());
final ProblemReport report =
new StructureChecker(getVerbose(args, StructureChecker.class.getName()))
new StructureChecker(isVerbose(args, StructureChecker.class.getName()))
.getStructureConsistencyReport(bdsDirectory);
printReportAndExit(report);
} catch (final Exception e)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment