* clean-up

This commit is contained in:
Reinhard Pointner 2011-11-03 11:56:29 +00:00
parent ba119efdde
commit 2cc68fd384
2 changed files with 12 additions and 9 deletions

View File

@ -132,6 +132,9 @@ public class Analytics {
} else if (Platform.isMac()) {
wm = "Macintosh";
os = System.getProperty("os.name");
} else {
wm = System.getProperty("os.name");
os = System.getProperty("os.name") + " " + System.getProperty("os.version");
}
return String.format("%s/%s (%s; U; %s; JRE %s)", getApplicationName(), getApplicationVersion(), wm, os, System.getProperty("java.version"));

View File

@ -25,12 +25,6 @@ public class ArgumentBean {
@Option(name = "-rename", usage = "Rename episode/movie files", metaVar = "fileset")
public boolean rename = false;
@Option(name = "-list", usage = "Fetch episode list")
public boolean list = false;
@Option(name = "-mediainfo", usage = "Get media info")
public boolean mediaInfo = false;
@Option(name = "--db", usage = "Episode/Movie database", metaVar = "[TVRage, AniDB, TheTVDB] or [OpenSubtitles, TheMovieDB]")
public String db;
@ -61,15 +55,21 @@ public class ArgumentBean {
@Option(name = "--log", usage = "Log level", metaVar = "[all, config, info, warning]")
public String log = "all";
@Option(name = "-list", usage = "Fetch episode list")
public boolean list = false;
@Option(name = "-mediainfo", usage = "Get media info")
public boolean mediaInfo = false;
@Option(name = "-script", usage = "Run Groovy script")
public String script = null;
@Option(name = "-open", usage = "Open file in GUI", metaVar = "file")
public boolean open = false;
@Option(name = "-clear", usage = "Clear cache and application settings")
public boolean clear = false;
@Option(name = "-script", usage = "Run Groovy script")
public String script = null;
@Option(name = "-no-analytics", usage = "Disable analytics")
public boolean disableAnalytics = false;