Skip to content

Commit

Permalink
Trivial change to Wulf's patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxu committed Jan 17, 2011
1 parent beaf161 commit bfd32fd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions gitstats
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ class GitStats:

if len(args) < 2:
print """
Usage: gitstats [options] <gitpath> [<gitpath>] <outputpath>
Usage: gitstats [options] <gitpath..> <outputpath>
Options:
-c key=value Override configuration value
Expand All @@ -1315,9 +1315,7 @@ Default config values:
data = GitDataCollector()
data.loadCache(cachefile)

for path in args[0:-1]:
gitpath = path

for gitpath in args[0:-1]:
print 'Git path: %s' % gitpath

os.chdir(gitpath)
Expand Down

0 comments on commit bfd32fd

Please sign in to comment.