Skip to content

Commit

Permalink
Add notice to debug markup flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Sevyls committed Jan 19, 2015
1 parent 3576031 commit 58d9b25
Showing 1 changed file with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,18 @@ public class Main {
*/
public static void main(String[] args) {
logger.debug("main() started.");

// Init
setupWorkingDirectory();
logger.debug("Working directory set up to: " + workingDirectory.toAbsolutePath().toString());

initializeOptions();

applicationContext = new ClassPathXmlApplicationContext("/application-context.xml");
logger.debug("Application context loaded.");


// Analyse options
parseCli(args);
logger.debug("CLI arguments parsed.");

logger.debug("Working directory set up to: " + workingDirectory.toAbsolutePath().toString());

applicationContext = new ClassPathXmlApplicationContext("/application-context.xml");
logger.debug("Application context loaded.");

loadConfiguration();
logger.debug("Configuration loaded.");

Expand Down Expand Up @@ -286,7 +283,7 @@ private static void initializeOptions() {
options.addOption("m", "export-markup", false, "export html markup");
options.addOption("t", "title", true, "Document title");
options.addOption("h", "help", false, "show this help");
options.addOption("d", "debug", false, "show debug output");
options.addOption("d", "debug", false, "show debug output in html markup");

Option picturesOption = new Option("r", "replace latex formulas with pictures, override html");
picturesOption.setLongOpt("replace-with-images");
Expand Down

0 comments on commit 58d9b25

Please sign in to comment.