diff --git a/xlint b/xlint index 5e6f1f4..160ecd7 100755 --- a/xlint +++ b/xlint @@ -490,6 +490,7 @@ for argument; do scan "cargo update (--package|-p) [A-Za-z_][A-Za-z0-9_]*(?!\:[0-9]+\.[0-9]+\.[0-9]+)(\s.+)?$" '"cargo update" commands should include the specific version we are updating from in the --package SPEC' scan "cargo update (--package|-p) [A-Za-z_][A-Za-z0-9_-]*\:[0-9]+\.[0-9]+\.[0-9]+(?!--precise [0-9]+\.[0-9]+\.[0-9]+)$" '"cargo update" commands should include the specific version we are updating to, using --precise' scan '-D([[:alnum:]_-]+)=\$\(vopt_if \1 true false\)' 'use $(vopt_bool ...) instead of -D...=$(vopt_if ...)' + scan 'depends=.*{pkgname}' 'use ${sourcepkg} in depends for subpackages' variables_order | grep -Pv "($old_variables)=" header file_end