summary refs log tree commit diff
path: root/xlint
diff options
context:
space:
mode:
authorToyam Cox <Vaelatern@gmail.com>2016-08-01 19:49:14 -0400
committerChristian Neukirchen <chneukirchen@gmail.com>2016-08-02 13:39:47 +0200
commit62cb30c4282ef3b3fcc45d22b7d2d9666867d935 (patch)
tree0fe2edb92fce430cb4bfed6e9b9ccdab4a627133 /xlint
parente7fd03f92e3fa5433b367058ea5ce6220a126c93 (diff)
downloadxtools-62cb30c4282ef3b3fcc45d22b7d2d9666867d935.tar.gz
xtools-62cb30c4282ef3b3fcc45d22b7d2d9666867d935.tar.xz
xtools-62cb30c4282ef3b3fcc45d22b7d2d9666867d935.zip
xlint: refuse whitespace at start of short_desc
Closes: #46 [via git-merge-pr]
Diffstat (limited to 'xlint')
-rwxr-xr-xxlint1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlint b/xlint
index 283ec48..ecd5a6b 100755
--- a/xlint
+++ b/xlint
@@ -132,6 +132,7 @@ for template; do
 	if [ -f "$template" ]; then
 	scan 'short_desc=.*\."' "unwanted trailing dot in short_desc"
 	scan 'short_desc=["'\''][a-z]' "short_desc should start uppercase"
+	scan 'short_desc=["'\''][\t ]' "short_desc should not start with whitespace"
 	scan 'short_desc=["'\''].{73}' "short_desc should be less than 72 chars"
 	scan 'license=.*[^L]GPL[^-]' "license GPL without version"
 	scan 'license=.*LGPL[^-]' "license LGPL without version"