mirror of
https://github.com/schollz/croc.git
synced 2024-12-18 11:11:29 +03:00
Merge pull request #731 from raimocom/main
Update cli.go (help output clarification)
This commit is contained in:
commit
2d648aa580
@ -41,7 +41,10 @@ func Run() (err error) {
|
|||||||
app.Version = Version
|
app.Version = Version
|
||||||
app.Compiled = time.Now()
|
app.Compiled = time.Now()
|
||||||
app.Usage = "easily and securely transfer stuff from one computer to another"
|
app.Usage = "easily and securely transfer stuff from one computer to another"
|
||||||
app.UsageText = `Send a file:
|
app.UsageText = `croc [GLOBAL OPTIONS] [COMMAND] [COMMAND OPTIONS] [filename(s) or folder]
|
||||||
|
|
||||||
|
USAGE EXAMPLES:
|
||||||
|
Send a file:
|
||||||
croc send file.txt
|
croc send file.txt
|
||||||
|
|
||||||
-git to respect your .gitignore
|
-git to respect your .gitignore
|
||||||
@ -101,7 +104,7 @@ func Run() (err error) {
|
|||||||
&cli.BoolFlag{Name: "ask", Usage: "make sure sender and recipient are prompted"},
|
&cli.BoolFlag{Name: "ask", Usage: "make sure sender and recipient are prompted"},
|
||||||
&cli.BoolFlag{Name: "local", Usage: "force to use only local connections"},
|
&cli.BoolFlag{Name: "local", Usage: "force to use only local connections"},
|
||||||
&cli.BoolFlag{Name: "ignore-stdin", Usage: "ignore piped stdin"},
|
&cli.BoolFlag{Name: "ignore-stdin", Usage: "ignore piped stdin"},
|
||||||
&cli.BoolFlag{Name: "overwrite", Usage: "do not prompt to overwrite"},
|
&cli.BoolFlag{Name: "overwrite", Usage: "do not prompt to overwrite or resume"},
|
||||||
&cli.BoolFlag{Name: "testing", Usage: "flag for testing purposes"},
|
&cli.BoolFlag{Name: "testing", Usage: "flag for testing purposes"},
|
||||||
&cli.StringFlag{Name: "curve", Value: "p256", Usage: "choose an encryption curve (" + strings.Join(pake.AvailableCurves(), ", ") + ")"},
|
&cli.StringFlag{Name: "curve", Value: "p256", Usage: "choose an encryption curve (" + strings.Join(pake.AvailableCurves(), ", ") + ")"},
|
||||||
&cli.StringFlag{Name: "ip", Value: "", Usage: "set sender ip if known e.g. 10.0.0.1:9009, [::1]:9009"},
|
&cli.StringFlag{Name: "ip", Value: "", Usage: "set sender ip if known e.g. 10.0.0.1:9009, [::1]:9009"},
|
||||||
|
Loading…
Reference in New Issue
Block a user