implement -o without wildcards