diff --git a/config b/config index 8158bf80..c902e5b0 100644 --- a/config +++ b/config @@ -35,3 +35,4 @@ # remove_source_files = "false" # skip_dir_strict_match = "false" # application_id = "" +# resync = "false" diff --git a/docs/USAGE.md b/docs/USAGE.md index d5527f05..57259074 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -287,10 +287,10 @@ The default configuration file is listed below: # remove_source_files = "false" # skip_dir_strict_match = "false" # application_id = "" +# resync = "false" ``` - ### 'config' file configuration examples: The below are 'config' file examples to assist with configuration of the 'config' file: diff --git a/src/config.d b/src/config.d index 7ab730f7..2c73c7f1 100644 --- a/src/config.d +++ b/src/config.d @@ -74,6 +74,8 @@ final class Config // Allow for a custom Client ID / Application ID to be used to replace the inbuilt default // This is a config file option ONLY stringValues["application_id"] = ""; + // allow for resync to be set via config file + boolValues["resync"] = false; // Determine the users home directory. // Need to avoid using ~ here as expandTilde() below does not interpret correctly when running under init.d or systemd scripts @@ -170,7 +172,6 @@ final class Config stringValues["auth_files"] = ""; boolValues["display_config"] = false; boolValues["display_sync_status"] = false; - boolValues["resync"] = false; boolValues["print_token"] = false; boolValues["logout"] = false; boolValues["monitor"] = false;