X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Fguile%2Fautodl;h=f796176441e0cef33e84d235e150dcf7254a99f5;hb=f7bc13915e125177524aae0c4328698ae6e9eaf7;hp=1f3c086a3d14a3c9f0293e1a49345ee293a991ca;hpb=625bfcd20218e6fd1ac6348ab8a00a60a956f4d2;p=doldaconnect.git diff --git a/lib/guile/autodl b/lib/guile/autodl index 1f3c086..f796176 100755 --- a/lib/guile/autodl +++ b/lib/guile/autodl @@ -211,7 +211,8 @@ (cons 'realsr info-numreal) (cons 'totalsr info-numtotal) (cons 'lastsrch lastsearch) - (cons 'srcheta info-searcheta)) + (cons 'srcheta info-searcheta) + (cons 'srchmode (cdr (assoc 'search-mode session)))) op) (newline op) (close-port op)))) @@ -377,7 +378,7 @@ (define (autodl-main args) (let ((dc-server #f) (done #f) (retval 0)) - (let ((getopt (make-getopt (cdr args) "hs:S:e:p:t:a:I:")) (arg #f)) + (let ((getopt (make-getopt (cdr args) "whs:S:e:p:t:a:I:")) (arg #f)) (do ((arg (getopt) (getopt))) ((not (and (pair? arg) (char? (car arg)))) (set! args arg)) (cond ((eq? (car arg) #\h) (begin (display "usage: autodl [-s server] -S sessfile\n" (current-error-port))