mirror of
https://github.com/ericchiang/pup
synced 2025-01-28 00:21:26 +00:00
+ and > are now correct
This commit is contained in:
parent
6fee0ebe20
commit
c9b88c1354
6
pup.go
6
pup.go
@ -17,7 +17,7 @@ import (
|
||||
// |/ \_( # |"
|
||||
// C/ ,--___/
|
||||
|
||||
var VERSION string = "0.3.5"
|
||||
var VERSION string = "0.3.6"
|
||||
|
||||
func main() {
|
||||
// process flags and arguments
|
||||
@ -55,9 +55,9 @@ func main() {
|
||||
switch cmd {
|
||||
case "*": // select all
|
||||
continue
|
||||
case "+":
|
||||
funcGenerator = SelectFromChildren
|
||||
case ">":
|
||||
funcGenerator = SelectFromChildren
|
||||
case "+":
|
||||
funcGenerator = SelectNextSibling
|
||||
case ",": // nil will signify a comma
|
||||
selectorFuncs = append(selectorFuncs, nil)
|
||||
|
Loading…
Reference in New Issue
Block a user