ccc: add .S files, allow args to cscope
authorColin Patrick McCabe <cmccabe@nvidia.com>
Fri, 21 Oct 2011 23:18:57 +0000 (16:18 -0700)
committerColin Patrick McCabe <cmccabe@nvidia.com>
Fri, 21 Oct 2011 23:18:57 +0000 (16:18 -0700)
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

ccc

diff --git a/ccc b/ccc
index 6f95f45..a925f88 100755 (executable)
--- a/ccc
+++ b/ccc
@@ -16,10 +16,11 @@ find -noleaf \
 -name '*.rake' -o \
 -name '*.rb' -o \
 -name '*.py' -o \
--name '*.go' \
+-name '*.go' -o \
+-name '*.S' \
 | grep -v ./build/ \
 | grep -v ./deploy/ \
 | grep -v .svn \
 > cscope.files || die "find command failed"
 
-cscope -icscope.files
+cscope -icscope.files "$@"