diff options
author | James Pannacciulli <jpnc@jpnc.info> | 2017-09-16 22:15:23 -0700 |
---|---|---|
committer | James Pannacciulli <jpnc@jpnc.info> | 2017-09-16 22:15:23 -0700 |
commit | 040e164a3dab6ebcb532226e67e03d9402f22d65 (patch) | |
tree | a4e990b8c5c788c94fab1564c2dce4bca309f02e /pars.sh | |
parent | 79300351f60046a43e122b5d6144f2e63c9d4037 (diff) | |
download | parssh-040e164a3dab6ebcb532226e67e03d9402f22d65.tar.gz parssh-040e164a3dab6ebcb532226e67e03d9402f22d65.tar.bz2 |
add some comments
Diffstat (limited to 'pars.sh')
-rw-r--r-- | pars.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -124,6 +124,7 @@ _parssh.ssh_rinput () { # main parssh () { + # print usage info and exit if no arguments provided (( $# )) || { _parssh.usage return $? @@ -133,11 +134,13 @@ parssh () { local _parssh_origopts=$- set -m + # initialize local defaults local _parssh_out_stdout=true local _parssh_out_file=false local _parssh_prepend_host=true local _parssh_ssh=_parssh.ssh + # parse parssh command line arguments while [[ "$1" == -* ]]; do case ${1#-} in -) |