resolve rawtaz's review comments

make majority of suggestions from review by @rawtaz verbatim, with one clarification on my part in changelog
This commit is contained in:
erin
2021-08-04 21:19:29 +02:00
committed by Michael Eischer
parent d107a2cfdf
commit 4126435663
3 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -133,10 +133,10 @@ func init() {
f.BoolVar(&backupOptions.WithAtime, "with-atime", false, "store the atime for all files and directories")
f.BoolVar(&backupOptions.IgnoreInode, "ignore-inode", false, "ignore inode number changes when checking for modified files")
f.BoolVar(&backupOptions.IgnoreCtime, "ignore-ctime", false, "ignore ctime changes when checking for modified files")
f.BoolVarP(&backupOptions.DryRun, "dry-run", "n", false, "do not upload or write any data, just show what would be done")
if runtime.GOOS == "windows" {
f.BoolVar(&backupOptions.UseFsSnapshot, "use-fs-snapshot", false, "use filesystem snapshot where possible (currently only Windows VSS)")
}
f.BoolVarP(&backupOptions.DryRun, "dry-run", "n", false, "do not write anything, just print what would be done")
}
// filterExisting returns a slice of all existing items, or an error if no