1
0
mirror of https://github.com/schollz/croc.git synced 2024-11-28 01:16:10 +03:00

Fix aliases

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
jolheiser 2020-09-08 22:52:42 -05:00
parent 9a20d507a7
commit 5ad8bd8e2c
No known key found for this signature in database
GPG Key ID: B853ADA5DA7BBF7A

View File

@ -49,8 +49,8 @@ func Run() (err error) {
Description: "send a file over the relay",
ArgsUsage: "[filename]",
Flags: []cli.Flag{
&cli.StringFlag{Name: "code, c", Usage: "codephrase used to connect to relay"},
&cli.StringFlag{Name: "text, t", Usage: "send some text"},
&cli.StringFlag{Name: "code", Aliases: []string{"c"}, Usage: "codephrase used to connect to relay"},
&cli.StringFlag{Name: "text", Aliases: []string{"t"}, Usage: "send some text"},
&cli.BoolFlag{Name: "no-local", Usage: "disable local relay when sending"},
&cli.BoolFlag{Name: "no-multi", Usage: "disable multiplexing"},
&cli.StringFlag{Name: "ports", Value: "9009,9010,9011,9012,9013", Usage: "ports of the local relay (optional)"},