]> git.lizzy.rs Git - plan9front.git/blobdiff - rc/bin/rcpu
fstype: make copy of first sector in /env to avoid unaligned reads on the disk (for...
[plan9front.git] / rc / bin / rcpu
index 8ea3fcfd665c8cce5bf4238c64c4a8a74664fabf..1a6b83b834a45245c5fa50136188017248c02a22 100755 (executable)
@@ -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