* -no-xattr switch
This commit is contained in:
parent
62059bf79b
commit
d851e941c9
|
@ -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");
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue