X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2FMain.java;h=5cd3313897317d7fb5a03c73c17557ff421ae890;hb=edfd3577ad35ca77bc0312849c6f4ccfe3394a5f;hp=a282e7ccef83f7125735bf7bb810cc8e9dad4993;hpb=0efd25e3aa839ba82da1054a470c27830b9ed94a;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/Main.java b/src/be/nikiroo/fanfix/Main.java index a282e7c..5cd3313 100644 --- a/src/be/nikiroo/fanfix/Main.java +++ b/src/be/nikiroo/fanfix/Main.java @@ -52,8 +52,8 @@ public class Main { *
  • --read-url [URL] ([chapter number]): convert on the fly and read the * story, without saving it
  • *
  • --list ([type]): list the stories present in the library
  • - *
  • --set-reader [reader type]: set the reader type to CLI or LOCAL for - * this command
  • + *
  • --set-reader [reader type]: set the reader type to CLI, TUI or LOCAL + * for this command
  • *
  • --version: get the version of the program
  • * * @@ -157,6 +157,7 @@ public class Main { break; case SET_READER: exitCode = setReaderType(args[i]); + action = MainAction.START; break; case START: exitCode = 255; // not supposed to be selected by user @@ -246,8 +247,7 @@ public class Main { updates.ok(); // we consider it read break; case START: - UIUtils.setLookAndFeel(); - BasicReader.setDefaultReaderType(ReaderType.LOCAL); + //BasicReader.setDefaultReaderType(ReaderType.LOCAL); BasicReader.getReader().start(null); break; }