Refactor matchpats and walk
Move core match function code to util
Add some comments and whitespace
Simplify options
Use lambdas instead of always and never
#!/bin/shhg helphg -q helphg add -hhg add --skjdfkshg help diffhg help foohg -q commandsexit 0