Add --ignore option for ignoring certain paths.