replace -f with --dir which works the almost same way, but is implemented bet directly changing the search roots (so it can search directories not on the default search path)