clix/archive.lua

changeset 92
a629b953780c
parent 90
3115bd81b9de
child 114
757647426af2
equal deleted inserted replaced
91:7816f24d0fdc 92:a629b953780c
42 end 42 end
43 if result.last then 43 if result.last then
44 local fetch_next = opts.everything; 44 local fetch_next = opts.everything;
45 if opts.interactive and not fetch_next then 45 if opts.interactive and not fetch_next then
46 io.stderr:write "--More--" 46 io.stderr:write "--More--"
47 fetch_next = io.read"*l"; 47 fetch_next = io.read"*l" or print();
48 end 48 end
49 if fetch_next then 49 if fetch_next then
50 opts.after = result.last; 50 opts.after = result.last;
51 conn:query_archive(opts.to, opts, handle_results); 51 conn:query_archive(opts.to, opts, handle_results);
52 return 52 return

mercurial