Fix 'only' option

Now 'only' works if pattern expands into multiple files