Skip to content

Commit 3390fb8

Browse files
committed
fixed readme/help
1 parent a1ee0c4 commit 3390fb8

2 files changed

Lines changed: 22 additions & 22 deletions

File tree

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ $ runoverssh [OPTIONS] USERNAME COMMAND HOSTS...
1717

1818
#### Options:
1919
```
20-
-s, --script [file] read commands from a script file instead
21-
-r, --hostsfile [file] use the list of hosts from a file (one host per line)
20+
-s, --script [file] read commands from a script file instead
21+
-r, --hostsfile [file] use the list of hosts from a file (one host per line)
2222
23-
-g, --globalpw ask one global password for all connections
24-
-n, --nopw no password (use ssh directly instead of sshpass)
25-
--sshflags [flags] set custom ssh flags
26-
default: '-o ConnectTimeout=5 -o StrictHostKeyChecking=no'
27-
-b, --bashflags [flags] set custom bash flags
28-
default: '-l'
23+
-g, --globalpw ask one global password for all connections
24+
-n, --nopw no password (use ssh directly instead of sshpass)
25+
--sshflags [flags] set custom ssh flags
26+
default: '-o ConnectTimeout=5 -o StrictHostKeyChecking=no'
27+
-b, --bashflags [flags] set custom bash flags
28+
default: '-l'
2929
30-
-l, --log save ssh output (default: runoverssh.log) (overwrite)
31-
--logfile [file] save ssh output to a custom file (overwrite)
32-
-q, --quiet disable ssh screen output
30+
-l, --log save ssh output (default: runoverssh.log) (overwrite)
31+
--logfile [file] save ssh output to a custom file (overwrite)
32+
-q, --quiet disable ssh screen output
3333
3434
```
3535

runoverssh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ function print_help {
3131
echo "Runs a Bash command/script over ssh in one or more hosts."
3232
echo "Options:"
3333
echo ""
34-
echo " -s, --script [file] read commands from a script file instead"
35-
echo " -r, --hostsfile [file] use the list of hosts from a file (one host per line)"
34+
echo " -s, --script [file] read commands from a script file instead"
35+
echo " -r, --hostsfile [file] use the list of hosts from a file (one host per line)"
3636
echo ""
37-
echo " -g, --globalpw ask one global password for all connections"
38-
echo " -n, --nopw no password (use ssh directly instead of sshpass)"
39-
echo " --sshflags [flags] set custom ssh flags"
40-
echo " default: '-o ConnectTimeout=5 -o StrictHostKeyChecking=no'"
41-
echo " -b, --bashflags [flags] set custom bash flags"
42-
echo " default: '-l'"
37+
echo " -g, --globalpw ask one global password for all connections"
38+
echo " -n, --nopw no password (use ssh directly instead of sshpass)"
39+
echo " --sshflags [flags] set custom ssh flags"
40+
echo " default: '-o ConnectTimeout=5 -o StrictHostKeyChecking=no'"
41+
echo " -b, --bashflags [flags] set custom bash flags"
42+
echo " default: '-l'"
4343
echo ""
44-
echo " -l, --log save ssh output (default: ${script_alias}.log) (overwrite)"
45-
echo " --logfile [file] save ssh output to a custom file (overwrite)"
46-
echo " -q, --quiet disable ssh screen output"
44+
echo " -l, --log save ssh output (default: ${script_alias}.log) (overwrite)"
45+
echo " --logfile [file] save ssh output to a custom file (overwrite)"
46+
echo " -q, --quiet disable ssh screen output"
4747
echo ""
4848
echo "Examples:"
4949
echo ""

0 commit comments

Comments
 (0)