mirror of
https://github.com/openziti/zrok.git
synced 2025-02-01 19:10:05 +01:00
fix for argument handling in 'zrok share reserved' (#740)
This commit is contained in:
parent
c110f8607d
commit
5a295b91a1
@ -36,6 +36,7 @@ func newShareReservedCommand() *shareReservedCommand {
|
||||
cmd := &cobra.Command{
|
||||
Use: "reserved <shareToken>",
|
||||
Short: "Start a backend for a reserved share",
|
||||
Args: cobra.ExactArgs(1),
|
||||
}
|
||||
command := &shareReservedCommand{cmd: cmd}
|
||||
cmd.Flags().StringVar(&command.overrideEndpoint, "override-endpoint", "", "Override the stored target endpoint with a replacement")
|
||||
|
Loading…
Reference in New Issue
Block a user