This is a rather unsorted list of features that would be nice to have, of things that could be improved in the source code, and of possible algorithmic improvements.
The idea is to do away with the -b and -g parameters. Only -a is used with a special syntax for each adapter type. This makes it a bit easier to add new adapter types in the feature.
back | -a ADAPTER | -a ADAPTER or -a ...ADAPTER |
front | -g ADAPTER | -a ADAPTER... |
prefix | -g ^ADAPTER | -a ^ADAPTER... |
anywhere | -b ADAPTER | -a ...ADAPTER... ??? |
paired | (not implemented) | -a ADAPTER...ADAPTER or -a ^ADAPTER...ADAPTER |
Or add only -a ADAPTER... as an alias for -g ^ADAPTER and -a ...ADAPTER as an alias for -a ADAPTER.