Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
martinnirtl committed Mar 29, 2023
1 parent 5f21451 commit dbade94
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Manage host entries - a simple tool for a simple, but annoying task!

```bash
Manage address mappings to ssh-config and hosts file.
Manage address mappings to ssh-config and hosts file.
Makes your life easier!
Don't forget the sudo!
Expand All @@ -17,12 +17,13 @@ Available Commands:
help Help about any command
print Print contents of ssh-config and hosts file
rm Remove host entries from ssh-config and hosts file
version Print CLI version information
Flags:
--dry-run /etc/hosts Only print updated /etc/hosts and `~/.ssh/config` files
-h, --help help for hosts
--hosts-file string Set host file (e.g. ~/hosts). Default: /etc/hosts
--ssh-config string Set SSH Config file (e.g. /etc/ssh/config). Default: ~/.ssh/config
--dry-run Only print updated '/etc/hosts' and '~/.ssh/config' files
-h, --help help for hosts
--hosts-file string Set host file (e.g. '~/hosts'). Default: /etc/hosts
--ssh-config string Set SSH Config file (e.g. '/etc/ssh/config'). Default: ~/.ssh/config
Use "hosts [command] --help" for more information about a command.
```
Expand Down

0 comments on commit dbade94

Please sign in to comment.