log: diagnose -L used with pathspec as an error