mirror of https://github.com/schollz/croc.git
clean up
This commit is contained in:
parent
0018a2ab44
commit
0dd51426c1
|
@ -6,8 +6,6 @@ bash_autocomplete
|
|||
dist
|
||||
bin
|
||||
croc-stdin*
|
||||
/transfer_folder
|
||||
/test
|
||||
|
||||
.idea/
|
||||
.vscode/
|
||||
|
|
|
@ -241,7 +241,7 @@ The relay is needed to staple the parallel incoming and outgoing connections. By
|
|||
croc relay
|
||||
```
|
||||
|
||||
By default it uses TCP ports 9009-9013. Make sure to open those up. You can customized the ports (e.g. `croc relay --ports 1111,1112`), but you must have a minimum of **2** ports for the relay. The first port is for communication and the subsequent ports are used for the multiplexed data transfer.
|
||||
By default it uses TCP ports 9009-9013. Make sure to open those up. You can customise the ports (e.g. `croc relay --ports 1111,1112`), but you must have a minimum of **2** ports for the relay. The first port is for communication and the subsequent ports are used for the multiplexed data transfer.
|
||||
|
||||
You can send files using your relay by entering `--relay` to change the relay that you are using if you want to custom host your own.
|
||||
|
||||
|
|
|
@ -266,6 +266,9 @@ func send(c *cli.Context) (err error) {
|
|||
if !c.IsSet("hash") {
|
||||
crocOptions.HashAlgorithm = rememberedOptions.HashAlgorithm
|
||||
}
|
||||
if !c.IsSet("git") {
|
||||
crocOptions.GitIgnore = rememberedOptions.GitIgnore
|
||||
}
|
||||
}
|
||||
|
||||
var fnames []string
|
||||
|
|
Loading…
Reference in New Issue