mirror of
https://github.com/nishiki/is_master.git
synced 2025-02-21 13:50:05 +00:00
chore: update readme
This commit is contained in:
parent
da10177a13
commit
69f70782b3
1 changed files with 7 additions and 3 deletions
10
README.md
10
README.md
|
@ -18,10 +18,14 @@ gem install is_master
|
|||
It's simple:
|
||||
```
|
||||
is_master 10.0.254.2 ls -l
|
||||
```
|
||||
or
|
||||
```
|
||||
is_master /path/to/file ls -l
|
||||
is_slave 10.0.254.2 ls -l
|
||||
is_slave /path/to/file ls -l
|
||||
```
|
||||
|
||||
Output is `ls -l` result or:
|
||||
```
|
||||
OK - I am slave, i going to sleep
|
||||
```
|
||||
|
||||
## Development
|
||||
|
|
Loading…
Add table
Reference in a new issue