aboutsummaryrefslogtreecommitdiffstats
path: root/pars.sh
diff options
context:
space:
mode:
authorJames Pannacciulli <jpnc@jpnc.info>2015-04-13 20:11:36 -0700
committerJames Pannacciulli <jpnc@jpnc.info>2015-04-13 20:16:30 -0700
commitac80ddc9b10bf838d191142bf15bba98cd5f4088 (patch)
tree58ee059300e35c7faefdb6b49a8c2ce7366f1c9d /pars.sh
parentf426970136c83baf71c089b758319643a2a72986 (diff)
downloadparssh-ac80ddc9b10bf838d191142bf15bba98cd5f4088.tar.gz
parssh-ac80ddc9b10bf838d191142bf15bba98cd5f4088.tar.bz2
minor usage info update
Diffstat (limited to 'pars.sh')
-rw-r--r--pars.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/pars.sh b/pars.sh
index 9f52bda..2aa83cf 100644
--- a/pars.sh
+++ b/pars.sh
@@ -132,22 +132,29 @@ _parssh.usage () {
"DESCRIPTION"\
" -NUM (default: 4)"\
" Number of concurrent ssh connections to maintain. E.g. '-40'."\
+ ""\
" -r FILE, --rinput FILE (default: unset/inactive)"\
" File to send as STDIN redirection on remote servers."\
" (Can be used as replacement for or in conjunction with COMMANDS)."\
+ ""\
" -s FILE, --servers FILE (default: unset/inactive)"\
" File to use as list of servers to run COMMANDS on."\
" (Cannot be used in conjunction with a server list on STDIN)."\
+ ""\
" -b, --bare (default: unset/inactive)"\
" Disable prepending of hostname to each output line returned by COMMANDS on SERVERS."\
+ ""\
" -o PREFIX, --out PREFIX (default: unset/inactive)"\
" Redirect STDOUT / STDERR to PREFIX.out / PREFIX.err, respectively."\
+ ""\
" -t PREFIX, --tee PREFIX (default: unset/inactive)"\
" Copy STDOUT / STDERR to PREFIX.out / PREFIX.err, respectively."\
+ ""\
" COMMANDS"\
" The list of commands to be executed remotely by SSH on each SERVER."\
+ ""\
" < SERVERS"\
" Unless '-s' flag is used, STDIN will be used as list of remote servers."\
- " (Deliniated by whitespace)."
+ " (Deliniated by newlines)."
return 1
}