mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-12-22 13:56:30 +00:00
Merge pull request #27 from vbatts/list-keyword_flag
main: change `-l` to `-list-keywords`
This commit is contained in:
commit
52a31746bf
2 changed files with 27 additions and 2 deletions
27
README.md
27
README.md
|
@ -95,7 +95,32 @@ gomtree -p . -f /tmp/mtree.txt
|
|||
### See the supported keywords
|
||||
|
||||
```bash
|
||||
gomtree -l
|
||||
gomtree -list-keywords
|
||||
Available keywords:
|
||||
rmd160
|
||||
ripemd160digest
|
||||
type (default)
|
||||
link (default)
|
||||
cksum
|
||||
md5
|
||||
md5digest
|
||||
sha256digest
|
||||
sha512
|
||||
time (default)
|
||||
gid (default)
|
||||
mode (default)
|
||||
sha1
|
||||
sha1digest
|
||||
size (default)
|
||||
uid (default)
|
||||
sha256
|
||||
sha384
|
||||
sha512digest
|
||||
nlink (default)
|
||||
uname
|
||||
rmd160digest
|
||||
sha384digest
|
||||
xattr
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ var (
|
|||
flPath = flag.String("p", "", "root path that the hierarchy spec is relative to")
|
||||
flAddKeywords = flag.String("K", "", "Add the specified (delimited by comma or space) keywords to the current set of keywords")
|
||||
flUseKeywords = flag.String("k", "", "Use the specified (delimited by comma or space) keywords as the current set of keywords")
|
||||
flListKeywords = flag.Bool("l", false, "List the keywords available")
|
||||
flListKeywords = flag.Bool("list-keywords", false, "List the keywords available")
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
Loading…
Reference in a new issue