(arg string)
| 748 | } |
| 749 | |
| 750 | func isFlagArg(arg string) bool { |
| 751 | return ((len(arg) >= 3 && arg[0:2] == "--") || |
| 752 | (len(arg) >= 2 && arg[0] == '-' && arg[1] != '-')) |
| 753 | } |
| 754 | |
| 755 | // Find the target command given the args and command tree |
| 756 | // Meant to be run on the highest node. Only searches down. |
no outgoing calls
no test coverage detected