mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
dont parse args for the ssh kitten as it will do so itself
This commit is contained in:
parent
46367bceed
commit
590c1bd7ad
3 changed files with 7 additions and 0 deletions
|
|
@ -13,6 +13,10 @@ func (self *Command) parse_args(ctx *Context, args []string) error {
|
|||
args_to_parse := make([]string, len(args))
|
||||
copy(args_to_parse, args)
|
||||
ctx.SeenCommands = append(ctx.SeenCommands, self)
|
||||
if self.IgnoreAllArgs {
|
||||
self.Args = args
|
||||
return nil
|
||||
}
|
||||
|
||||
var expecting_arg_for *Option
|
||||
options_allowed := true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue