Browse Source

Trivial change to Wulf's patch.

Heikki Hokkanen 15 years ago
parent
commit
bfd32fdce1
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      gitstats

+ 2
- 4
gitstats View File

1288
 
1288
 
1289
 		if len(args) < 2:
1289
 		if len(args) < 2:
1290
 			print """
1290
 			print """
1291
-Usage: gitstats [options] <gitpath> [<gitpath>] <outputpath>
1291
+Usage: gitstats [options] <gitpath..> <outputpath>
1292
 
1292
 
1293
 Options:
1293
 Options:
1294
 -c key=value     Override configuration value
1294
 -c key=value     Override configuration value
1315
 		data = GitDataCollector()
1315
 		data = GitDataCollector()
1316
 		data.loadCache(cachefile)
1316
 		data.loadCache(cachefile)
1317
 
1317
 
1318
-		for path in args[0:-1]:
1319
-			gitpath = path
1320
-
1318
+		for gitpath in args[0:-1]:
1321
 			print 'Git path: %s' % gitpath
1319
 			print 'Git path: %s' % gitpath
1322
 
1320
 
1323
 			os.chdir(gitpath)
1321
 			os.chdir(gitpath)