Skip to content
Snippets Groups Projects
Commit 8b167ee8 authored by Martin Geisler's avatar Martin Geisler
Browse files

check-code: catch 'ls filename --option' case as per 6bdae8ea0b48

parent 4936a04b
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,7 @@
('^([^"\']|("[^"]*")|(\'[^\']*\'))*\\^', "^ must be quoted"),
(r'^source\b', "don't use 'source', use '.'"),
(r'touch -d', "don't use 'touch -d', use 'touch -t' instead"),
(r'ls\s+[^-]+\s+-', "options to 'ls' must come before filenames"),
]
testfilters = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment