@@ -36,7 +36,7 @@ func Run() (err error) {
3636 app := cli .NewApp ()
3737 app .Name = "croc"
3838 if Version == "" {
39- Version = "v10.4.1 "
39+ Version = "v10.4.2 "
4040 }
4141 app .Version = Version
4242 app .Compiled = time .Now ()
@@ -309,33 +309,33 @@ func send(c *cli.Context) (err error) {
309309 }
310310
311311 crocOptions := croc.Options {
312- SharedSecret : c .String ("code" ),
313- IsSender : true ,
314- Debug : c .Bool ("debug" ),
315- NoPrompt : c .Bool ("yes" ),
316- RelayAddress : c .String ("relay" ),
317- RelayAddress6 : c .String ("relay6" ),
318- Stdout : c .Bool ("stdout" ),
319- DisableLocal : c .Bool ("no-local" ),
320- OnlyLocal : c .Bool ("local" ),
321- IgnoreStdin : c .Bool ("ignore-stdin" ),
322- RelayPorts : ports ,
323- Ask : c .Bool ("ask" ),
324- NoMultiplexing : c .Bool ("no-multi" ),
325- RelayPassword : determinePass (c ),
326- SendingText : c .String ("text" ) != "" ,
327- NoCompress : c .Bool ("no-compress" ),
328- Overwrite : c .Bool ("overwrite" ),
329- Curve : c .String ("curve" ),
330- HashAlgorithm : c .String ("hash" ),
331- ThrottleUpload : c .String ("throttleUpload" ),
332- ZipFolder : c .Bool ("zip" ),
333- GitIgnore : c .Bool ("git" ),
334- ShowQrCode : c .Bool ("qrcode" ),
335- MulticastAddress : c .String ("multicast" ),
336- Exclude : excludeStrings ,
337- Quiet : c .Bool ("quiet" ),
338- DisableClipboard : c .Bool ("disable-clipboard" ),
312+ SharedSecret : c .String ("code" ),
313+ IsSender : true ,
314+ Debug : c .Bool ("debug" ),
315+ NoPrompt : c .Bool ("yes" ),
316+ RelayAddress : c .String ("relay" ),
317+ RelayAddress6 : c .String ("relay6" ),
318+ Stdout : c .Bool ("stdout" ),
319+ DisableLocal : c .Bool ("no-local" ),
320+ OnlyLocal : c .Bool ("local" ),
321+ IgnoreStdin : c .Bool ("ignore-stdin" ),
322+ RelayPorts : ports ,
323+ Ask : c .Bool ("ask" ),
324+ NoMultiplexing : c .Bool ("no-multi" ),
325+ RelayPassword : determinePass (c ),
326+ SendingText : c .String ("text" ) != "" ,
327+ NoCompress : c .Bool ("no-compress" ),
328+ Overwrite : c .Bool ("overwrite" ),
329+ Curve : c .String ("curve" ),
330+ HashAlgorithm : c .String ("hash" ),
331+ ThrottleUpload : c .String ("throttleUpload" ),
332+ ZipFolder : c .Bool ("zip" ),
333+ GitIgnore : c .Bool ("git" ),
334+ ShowQrCode : c .Bool ("qrcode" ),
335+ MulticastAddress : c .String ("multicast" ),
336+ Exclude : excludeStrings ,
337+ Quiet : c .Bool ("quiet" ),
338+ DisableClipboard : c .Bool ("disable-clipboard" ),
339339 ExtendedClipboard : c .Bool ("extended-clipboard" ),
340340 }
341341 if crocOptions .RelayAddress != models .DEFAULT_RELAY {
@@ -612,23 +612,23 @@ func receive(c *cli.Context) (err error) {
612612 comm .Socks5Proxy = c .String ("socks5" )
613613 comm .HttpProxy = c .String ("connect" )
614614 crocOptions := croc.Options {
615- SharedSecret : c .String ("code" ),
616- IsSender : false ,
617- Debug : c .Bool ("debug" ),
618- NoPrompt : c .Bool ("yes" ),
619- RelayAddress : c .String ("relay" ),
620- RelayAddress6 : c .String ("relay6" ),
621- Stdout : c .Bool ("stdout" ),
622- Ask : c .Bool ("ask" ),
623- RelayPassword : determinePass (c ),
624- OnlyLocal : c .Bool ("local" ),
625- IP : c .String ("ip" ),
626- Overwrite : c .Bool ("overwrite" ),
627- Curve : c .String ("curve" ),
628- TestFlag : c .Bool ("testing" ),
629- MulticastAddress : c .String ("multicast" ),
630- Quiet : c .Bool ("quiet" ),
631- DisableClipboard : c .Bool ("disable-clipboard" ),
615+ SharedSecret : c .String ("code" ),
616+ IsSender : false ,
617+ Debug : c .Bool ("debug" ),
618+ NoPrompt : c .Bool ("yes" ),
619+ RelayAddress : c .String ("relay" ),
620+ RelayAddress6 : c .String ("relay6" ),
621+ Stdout : c .Bool ("stdout" ),
622+ Ask : c .Bool ("ask" ),
623+ RelayPassword : determinePass (c ),
624+ OnlyLocal : c .Bool ("local" ),
625+ IP : c .String ("ip" ),
626+ Overwrite : c .Bool ("overwrite" ),
627+ Curve : c .String ("curve" ),
628+ TestFlag : c .Bool ("testing" ),
629+ MulticastAddress : c .String ("multicast" ),
630+ Quiet : c .Bool ("quiet" ),
631+ DisableClipboard : c .Bool ("disable-clipboard" ),
632632 ExtendedClipboard : c .Bool ("extended-clipboard" ),
633633 }
634634 if crocOptions .RelayAddress != models .DEFAULT_RELAY {
0 commit comments