Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Jul 26, 2023
1 parent e45325d commit d7d4fea
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions action.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,6 @@ func (a Action) UsageF(f func() string) Action {
// Split splits `Context.Value` using a shell lexer.
func (a Action) Split() Action {
return ActionCallback(func(c Context) Action {
LOG.Println("======")
LOG.Println("value: " + c.Value)
tokenset, err := lexer.Split(c.Value)
if err != nil {
return ActionMessage(err.Error())
Expand All @@ -320,14 +318,8 @@ func (a Action) Split() Action {
default:
invoked.rawValues[index].Value = strings.Replace(value.Value, ` `, `\ `, -1) + ` `
}
LOG.Println("==")
LOG.Printf("value: %#v", value.Value)
LOG.Printf("patched: %#v", invoked.rawValues[index].Value)
}
}
LOG.Printf("tokens: %#v", tokenset.Tokens)
LOG.Printf("prefix: %#v", tokenset.Prefix)
LOG.Printf("state: %#v", tokenset.State)
invoked.Prefix(tokenset.Prefix)
return invoked.ToA().NoSpace()
})
Expand Down

0 comments on commit d7d4fea

Please sign in to comment.