mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 00:08:51 -05:00
Clean up filebot -help
This commit is contained in:
parent
a222413b20
commit
2b1bc29d60
@ -68,10 +68,10 @@ public class ArgumentBean {
|
|||||||
@Option(name = "--conflict", usage = "Conflict resolution", metaVar = "[skip, override, auto, index, fail]")
|
@Option(name = "--conflict", usage = "Conflict resolution", metaVar = "[skip, override, auto, index, fail]")
|
||||||
public String conflict = "skip";
|
public String conflict = "skip";
|
||||||
|
|
||||||
@Option(name = "--filter", usage = "Match filter expression", metaVar = "expression")
|
@Option(name = "--filter", usage = "Match filter expression", metaVar = "{expression}")
|
||||||
public String filter = null;
|
public String filter = null;
|
||||||
|
|
||||||
@Option(name = "--format", usage = "Format expression", metaVar = "expression")
|
@Option(name = "--format", usage = "Format expression", metaVar = "{expression}")
|
||||||
public String format;
|
public String format;
|
||||||
|
|
||||||
@Option(name = "-non-strict", usage = "Enable advanced matching and more aggressive guessing")
|
@Option(name = "-non-strict", usage = "Enable advanced matching and more aggressive guessing")
|
||||||
@ -107,9 +107,27 @@ public class ArgumentBean {
|
|||||||
@Option(name = "-extract", usage = "Extract archives")
|
@Option(name = "-extract", usage = "Extract archives")
|
||||||
public boolean extract = false;
|
public boolean extract = false;
|
||||||
|
|
||||||
@Option(name = "-script", usage = "Run Groovy script", metaVar = "[fn:name] or [dev:name] or [foo.groovy]")
|
@Option(name = "-script", usage = "Run Groovy script", metaVar = "[fn:name] or [script.groovy]")
|
||||||
public String script = null;
|
public String script = null;
|
||||||
|
|
||||||
|
@Option(name = "--def", usage = "Define script variables", handler = BindingsHandler.class)
|
||||||
|
public Map<String, String> defines = new LinkedHashMap<String, String>();
|
||||||
|
|
||||||
|
@Option(name = "-r", usage = "Recursively process folders")
|
||||||
|
public boolean recursive = false;
|
||||||
|
|
||||||
|
@Option(name = "--file-filter", usage = "Input file filter expression", metaVar = "{expression}")
|
||||||
|
public String inputFileFilter = null;
|
||||||
|
|
||||||
|
@Option(name = "-exec", usage = "Execute command", metaVar = "echo {f} [+]", handler = RestOfArgumentsHandler.class)
|
||||||
|
public List<String> exec = new ArrayList<String>();
|
||||||
|
|
||||||
|
@Option(name = "-unixfs", usage = "Allow special characters in file paths")
|
||||||
|
public boolean unixfs = false;
|
||||||
|
|
||||||
|
@Option(name = "-no-xattr", usage = "Disable extended attributes")
|
||||||
|
public boolean disableExtendedAttributes = false;
|
||||||
|
|
||||||
@Option(name = "--log", usage = "Log level", metaVar = "[all, fine, info, warning]")
|
@Option(name = "--log", usage = "Log level", metaVar = "[all, fine, info, warning]")
|
||||||
public String log = "all";
|
public String log = "all";
|
||||||
|
|
||||||
@ -119,39 +137,21 @@ public class ArgumentBean {
|
|||||||
@Option(name = "--log-lock", usage = "Lock log file", metaVar = "[yes, no]", handler = ExplicitBooleanOptionHandler.class)
|
@Option(name = "--log-lock", usage = "Lock log file", metaVar = "[yes, no]", handler = ExplicitBooleanOptionHandler.class)
|
||||||
public boolean logLock = true;
|
public boolean logLock = true;
|
||||||
|
|
||||||
@Option(name = "-r", usage = "Recursively process folders")
|
|
||||||
public boolean recursive = false;
|
|
||||||
|
|
||||||
@Option(name = "-clear-cache", usage = "Clear cached and temporary data")
|
@Option(name = "-clear-cache", usage = "Clear cached and temporary data")
|
||||||
public boolean clearCache = false;
|
public boolean clearCache = false;
|
||||||
|
|
||||||
@Option(name = "-clear-prefs", usage = "Clear application settings")
|
@Option(name = "-clear-prefs", usage = "Clear application settings")
|
||||||
public boolean clearPrefs = false;
|
public boolean clearPrefs = false;
|
||||||
|
|
||||||
@Option(name = "-unixfs", usage = "Allow special characters in file paths")
|
|
||||||
public boolean unixfs = false;
|
|
||||||
|
|
||||||
@Option(name = "-no-xattr", usage = "Disable extended attributes")
|
|
||||||
public boolean disableExtendedAttributes = false;
|
|
||||||
|
|
||||||
@Option(name = "-version", usage = "Print version identifier")
|
@Option(name = "-version", usage = "Print version identifier")
|
||||||
public boolean version = false;
|
public boolean version = false;
|
||||||
|
|
||||||
@Option(name = "-help", usage = "Print this help message")
|
@Option(name = "-help", usage = "Print this help message")
|
||||||
public boolean help = false;
|
public boolean help = false;
|
||||||
|
|
||||||
@Option(name = "--license", usage = "Import license file", metaVar = "file")
|
@Option(name = "--license", usage = "Import license file", metaVar = "file.psm")
|
||||||
public String license = null;
|
public String license = null;
|
||||||
|
|
||||||
@Option(name = "--def", usage = "Define script variables", handler = BindingsHandler.class)
|
|
||||||
public Map<String, String> defines = new LinkedHashMap<String, String>();
|
|
||||||
|
|
||||||
@Option(name = "-exec", usage = "Execute command", metaVar = "command", handler = RestOfArgumentsHandler.class)
|
|
||||||
public List<String> exec = new ArrayList<String>();
|
|
||||||
|
|
||||||
@Option(name = "--file-filter", usage = "Input file filter expression", metaVar = "expression")
|
|
||||||
public String inputFileFilter = null;
|
|
||||||
|
|
||||||
@Argument
|
@Argument
|
||||||
public List<String> arguments = new ArrayList<String>();
|
public List<String> arguments = new ArrayList<String>();
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ public class BindingsHandler extends MapOptionHandler {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getDefaultMetaVariable() {
|
public String getDefaultMetaVariable() {
|
||||||
return "[name=value]";
|
return "name=value";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user