diff options
author | 23hiro <23hiro@gmail.com> | 2018-01-07 02:44:53 +0100 |
---|---|---|
committer | 23hiro <23hiro@gmail.com> | 2018-01-07 02:44:53 +0100 |
commit | 17291d91bb3063fe8ba0bb5b73c329d317fa7108 (patch) | |
tree | 33000d0a5b92b0f8f27a320a4ffe56adb6967c77 /rc/bin/rcpu | |
parent | 05f721e9987791aae8e07dd4435f04df6ce33c77 (diff) |
rconnect: support -t timeout for aan like in drawterm; also rcpu, rexport/import
Diffstat (limited to 'rc/bin/rcpu')
-rwxr-xr-x | rc/bin/rcpu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc/bin/rcpu b/rc/bin/rcpu index 8ea3fcfd6..1a6b83b83 100755 --- a/rc/bin/rcpu +++ b/rc/bin/rcpu @@ -3,7 +3,7 @@ rfork e argv0=$0 fn usage { - echo 'usage:' $argv0 '[-u user] [-k keypattern] [-P patternfile] [-p] [-h host] [-c cmd arg ...]' >[1=2] + echo 'usage:' $argv0 '[-u user] [-k keypattern] [-P patternfile] [-p] [-t timeout] [-h host] [-c cmd arg ...]' >[1=2] exit 'usage' } @@ -63,7 +63,7 @@ while(~ $1 -*){ ~ $#* 1 && usage switch($1){ case -P; exportfs=($exportfs $1 $2) - case -[uk]; connect=($connect $1 $2) + case -[ukt]; connect=($connect $1 $2) case -h; host=$2 case -c; cmd=$*(2-); *=() case *; usage |