aboutsummaryrefslogtreecommitdiff
path: root/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli.py')
-rwxr-xr-xcli.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cli.py b/cli.py
index 1c9ee22..29fa7e6 100755
--- a/cli.py
+++ b/cli.py
@@ -25,9 +25,10 @@ args = parser.parse_args()
#inclst is a list of includes. First in it is global then local.
-inclst = scanfiles.startscan(args.dir,args.types)
+inclst = scanfiles.scanproject(args.dir,"makefile")
-print(inclst)
+if args.ginc == args.linc == args.ifdef == False:
+ print(inclst)
if args.ginc:
print(inclst[0])