mirror of
https://github.com/schollz/croc.git
synced 2024-11-30 23:52:07 +03:00
Fix aliases
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
9a20d507a7
commit
5ad8bd8e2c
@ -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)"},
|
||||
|
Loading…
Reference in New Issue
Block a user