update flags (breaks -s -> -S, -f removed)
This commit is contained in:
parent
76c46c2cb4
commit
ef18e44ef0
@ -85,11 +85,11 @@ Flags:
|
|||||||
-h, --help Show context-sensitive help.
|
-h, --help Show context-sensitive help.
|
||||||
-H, --tips Show tips.
|
-H, --tips Show tips.
|
||||||
-u, --update update indices (without this chkbit will verify files in readonly mode)
|
-u, --update update indices (without this chkbit will verify files in readonly mode)
|
||||||
--show-ignored-only only show ignored files
|
-i, --show-ignored-only only show ignored files (will not check hashes in this mode)
|
||||||
-m, --show-missing show missing files/directories
|
-m, --show-missing show missing files/directories
|
||||||
--algo="blake3" hash algorithm: md5, sha512, blake3 (default: blake3)
|
--algo="blake3" hash algorithm: md5, sha512, blake3 (default: blake3)
|
||||||
-f, --force force update of damaged items
|
--force force update of damaged items
|
||||||
-s, --skip-symlinks do not follow symlinks
|
-S, --skip-symlinks do not follow symlinks
|
||||||
-R, --no-recurse do not recurse into subdirectories
|
-R, --no-recurse do not recurse into subdirectories
|
||||||
-D, --no-dir-in-index do not track directories in the index
|
-D, --no-dir-in-index do not track directories in the index
|
||||||
-l, --log-file=STRING write to a logfile if specified
|
-l, --log-file=STRING write to a logfile if specified
|
||||||
|
@ -45,11 +45,11 @@ var cli struct {
|
|||||||
Paths []string `arg:"" optional:"" name:"paths" help:"directories to check"`
|
Paths []string `arg:"" optional:"" name:"paths" help:"directories to check"`
|
||||||
Tips bool `short:"H" help:"Show tips."`
|
Tips bool `short:"H" help:"Show tips."`
|
||||||
Update bool `short:"u" help:"update indices (without this chkbit will verify files in readonly mode)"`
|
Update bool `short:"u" help:"update indices (without this chkbit will verify files in readonly mode)"`
|
||||||
ShowIgnoredOnly bool `help:"only show ignored files"`
|
ShowIgnoredOnly bool `short:"i" help:"only show ignored files (will not check hashes in this mode)"`
|
||||||
ShowMissing bool `short:"m" help:"show missing files/directories"`
|
ShowMissing bool `short:"m" help:"show missing files/directories"`
|
||||||
Algo string `default:"blake3" help:"hash algorithm: md5, sha512, blake3 (default: blake3)"`
|
Algo string `default:"blake3" help:"hash algorithm: md5, sha512, blake3 (default: blake3)"`
|
||||||
Force bool `short:"f" help:"force update of damaged items"`
|
Force bool `help:"force update of damaged items"`
|
||||||
SkipSymlinks bool `short:"s" help:"do not follow symlinks"`
|
SkipSymlinks bool `short:"S" help:"do not follow symlinks"`
|
||||||
NoRecurse bool `short:"R" help:"do not recurse into subdirectories"`
|
NoRecurse bool `short:"R" help:"do not recurse into subdirectories"`
|
||||||
NoDirInIndex bool `short:"D" help:"do not track directories in the index"`
|
NoDirInIndex bool `short:"D" help:"do not track directories in the index"`
|
||||||
LogFile string `short:"l" help:"write to a logfile if specified"`
|
LogFile string `short:"l" help:"write to a logfile if specified"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user