mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
fix: allow remembering hash algorithm
This commit is contained in:
parent
e04981698c
commit
e3ce565ca6
1 changed files with 3 additions and 0 deletions
|
@ -234,6 +234,9 @@ func send(c *cli.Context) (err error) {
|
||||||
if !c.IsSet("local") {
|
if !c.IsSet("local") {
|
||||||
crocOptions.OnlyLocal = rememberedOptions.OnlyLocal
|
crocOptions.OnlyLocal = rememberedOptions.OnlyLocal
|
||||||
}
|
}
|
||||||
|
if !c.IsSet("hash") {
|
||||||
|
crocOptions.HashAlgorithm = rememberedOptions.HashAlgorithm
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var fnames []string
|
var fnames []string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue