Index: tests/test.py
===================================================================
--- tests/test.py	(revision 3eb5a47849aa6054acbc7a319ad4cf0f46de50a3)
+++ tests/test.py	(revision 0f3d8448d8eb105df4d36abcceea99d8bb8e872f)
@@ -303,5 +303,5 @@
 
 		# print the possible options
-		print("-h --help --debug --dry-run --list --arch --all --regenerate-expected --archive-errors --install --timeout --global-timeout --timeout-with-gdb -j --jobs ", end='')
+		print("-h --help --debug --dry-run --list --arch --all --regenerate-expected --archive-errors --install --timeout --global-timeout --timeout-with-gdb -j --jobs -I --include -E --exclude --continue ", end='')
 		print(" ".join(map(lambda t: "%s" % (t.target()), tests)))
 
Index: tools/auto-complete.md
===================================================================
--- tools/auto-complete.md	(revision 0f3d8448d8eb105df4d36abcceea99d8bb8e872f)
+++ tools/auto-complete.md	(revision 0f3d8448d8eb105df4d36abcceea99d8bb8e872f)
@@ -0,0 +1,33 @@
+Shell Auto Completion
+=====================
+
+tests/test.py
+-------------
+
+### Bash
+
+Short version: copy this into your .profile file:
+
+    _cfa_test() (
+        (case $3 in
+        (--continue|--debug|--install|--timout-with-gdb)
+            echo yes no;;
+        (--arch)
+            echo x86 x64;;
+        (-I|--include|-E|--exclude)
+            $1 --list-comp | tr ' ' '\n' | sed -e 's@/[^/]\+$@/@;t;d';;
+        (*)
+            $1 --list-comp;;
+        esac) | grep -Ewoe "$2[^[:space:]]*"
+    )
+    complete -C _cfa_test tests/test.py
+
+The long version includes reading the bash manual, check for the complete
+built-in and readline programmable completion for details on how these
+commands are used. You can copy-paste the results directily into your
+terminal to test them or put them in one of the initalization files so they
+are loaded at start-up.
+
+This particular script does not handle the comma seperated options.
+
+### Zsh
Index: tools/cfa.nanorc
===================================================================
--- tools/cfa.nanorc	(revision 3eb5a47849aa6054acbc7a319ad4cf0f46de50a3)
+++ tools/cfa.nanorc	(revision 0f3d8448d8eb105df4d36abcceea99d8bb8e872f)
@@ -37,5 +37,5 @@
 ## Update/Redistribute
 # GCC builtins
-color cyan "__attribute__[[:space:]]*\(\([^()]*(\([^()]*\)[^()]*)*\)\)"
+color cyan "__attribute__[[:space:]]*\(\(([^)]|[^)]\))*\)\)"
 ##color cyan "__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__"
 
