Update feature flag

* Update feature flag from 'check-mount' to 'check-for-nomount' as this is what this option does
* Add information into readme file
This commit is contained in:
abraunegg 2018-06-27 06:23:17 +10:00
parent 1cfe137a92
commit 77ac29acdf
2 changed files with 2 additions and 1 deletions

View file

@ -231,6 +231,7 @@ If you encounter any bugs you can report them here on Github. Before filing an i
Usage: onedrive [OPTION]...
no option No Sync and exit
--check-for-nomount Check for the presence of .nosync in the syncdir root. If found, do not perform sync.
--confdir Set the directory used to store the configuration files
--create-directory Create a directory on OneDrive - no sync will be performed.
--destination-directory Destination directory for renamed or move on OneDrive - no sync will be performed.

View file

@ -64,7 +64,7 @@ int main(string[] args)
args,
std.getopt.config.bundling,
std.getopt.config.caseSensitive,
"check-mount", "Check for the presence of .nosync in the syncdir root", &checkMount,
"check-for-nomount", "Check for the presence of .nosync in the syncdir root. If found, do not perform sync.", &checkMount,
"confdir", "Set the directory used to store the configuration files", &configDirName,
"create-directory", "Create a directory on OneDrive - no sync will be performed.", &createDirectory,
"destination-directory", "Destination directory for renamed or move on OneDrive - no sync will be performed.", &destinationDirectory,