* -no-xattr switch

This commit is contained in:
Reinhard Pointner 2013-07-25 11:16:28 +00:00
parent 62059bf79b
commit d851e941c9
2 changed files with 6 additions and 0 deletions

View File

@ -149,6 +149,9 @@ public class Main {
if (args.disableAnalytics) {
System.setProperty("application.analytics", "false");
}
if (args.disableExtendedAttributes) {
System.setProperty("useExtendedFileAttributes", "false");
}
if (args.action.equalsIgnoreCase("test")) {
System.setProperty("useExtendedFileAttributes", "false");
System.setProperty("application.analytics", "false");

View File

@ -104,6 +104,9 @@ public class ArgumentBean {
@Option(name = "-unixfs", usage = "Do not strip invalid characters from file paths")
public boolean unixfs = false;
@Option(name = "-no-xattr", usage = "Disable extended attributes")
public boolean disableExtendedAttributes = false;
@Option(name = "-no-analytics", usage = "Disable analytics")
public boolean disableAnalytics = false;