* -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) { if (args.disableAnalytics) {
System.setProperty("application.analytics", "false"); System.setProperty("application.analytics", "false");
} }
if (args.disableExtendedAttributes) {
System.setProperty("useExtendedFileAttributes", "false");
}
if (args.action.equalsIgnoreCase("test")) { if (args.action.equalsIgnoreCase("test")) {
System.setProperty("useExtendedFileAttributes", "false"); System.setProperty("useExtendedFileAttributes", "false");
System.setProperty("application.analytics", "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") @Option(name = "-unixfs", usage = "Do not strip invalid characters from file paths")
public boolean unixfs = false; public boolean unixfs = false;
@Option(name = "-no-xattr", usage = "Disable extended attributes")
public boolean disableExtendedAttributes = false;
@Option(name = "-no-analytics", usage = "Disable analytics") @Option(name = "-no-analytics", usage = "Disable analytics")
public boolean disableAnalytics = false; public boolean disableAnalytics = false;