diff --git a/README.md b/README.md index 6868bc3..5fb0414 100644 --- a/README.md +++ b/README.md @@ -178,11 +178,11 @@ To search (by regex) for cheatsheets that contain an IP address: cheat -r -s '(?:[0-9]{1,3}\.){3}[0-9]{1,3}' ``` -Flags may be combined in inuitive ways. Example: to search sheets on the +Flags may be combined in intuitive ways. Example: to search sheets on the "personal" cheatpath that are tagged with "networking" and match a regex: ```sh -cheat -p personal -t networking -s --regex '(?:[0-9]{1,3}\.){3}[0-9]{1,3}' +cheat -p personal -t networking --regex -s '(?:[0-9]{1,3}\.){3}[0-9]{1,3}' ``` diff --git a/cmd/cheat/str_config.go b/cmd/cheat/str_config.go index f2a779a..fbf98e7 100644 --- a/cmd/cheat/str_config.go +++ b/cmd/cheat/str_config.go @@ -32,9 +32,9 @@ formatter: terminal16m # "upstream" cheatsheets. # # But what if you want to view the "upstream" cheatsheets instead of your own? -# Cheatsheets may be filtered via 'cheat -f ' in combination with other +# Cheatsheets may be filtered via 'cheat -t ' in combination with other # commands. So, if you want to view the 'tar' cheatsheet that is tagged as -# 'community' rather than your own, you can use: cheat tar -f community +# 'community' rather than your own, you can use: cheat tar -t community cheatpaths: # Paths that come earlier are considered to be the most "global", and will diff --git a/configs/conf.yml b/configs/conf.yml index 83e4615..e66507c 100644 --- a/configs/conf.yml +++ b/configs/conf.yml @@ -23,9 +23,9 @@ formatter: terminal16m # "upstream" cheatsheets. # # But what if you want to view the "upstream" cheatsheets instead of your own? -# Cheatsheets may be filtered via 'cheat -f ' in combination with other +# Cheatsheets may be filtered via 'cheat -t ' in combination with other # commands. So, if you want to view the 'tar' cheatsheet that is tagged as -# 'community' rather than your own, you can use: cheat tar -f community +# 'community' rather than your own, you can use: cheat tar -t community cheatpaths: # Paths that come earlier are considered to be the most "global", and will