mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-23 16:12:12 +02:00
* Implement the ability to set --resync as a config option, default is false
This commit is contained in:
parent
183567eba6
commit
ccbeae4942
1
config
1
config
|
@ -35,3 +35,4 @@
|
|||
# remove_source_files = "false"
|
||||
# skip_dir_strict_match = "false"
|
||||
# application_id = ""
|
||||
# resync = "false"
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue