clix/sendfile.lua

changeset 47
d4650cc6bb3f
parent 44
3c3cc6d75814
equal deleted inserted replaced
46:b5d6e443e571 47:d4650cc6bb3f
1 return function (opts, arg) 1 return function (opts, arg)
2 if opts.short_help then 2 if opts.short_help then
3 print("Send files"); 3 print("Send a file");
4 return; 4 return;
5 end 5 end
6 if (#arg == 0 or opts.help) and not opts.interactive then 6 if (#arg == 0 or opts.help) and not opts.interactive then
7 return 0; 7 return 0;
8 end 8 end

mercurial