commit | 8368d23d47fedc39aef9f49cfc90ef192a4ada27 | [log] [tgz] |
---|---|---|
author | Paul Keith <javelinanddart@gmail.com> | Thu Aug 16 02:28:39 2018 +0200 |
committer | Paul Keith <javelinanddart@gmail.com> | Thu Aug 16 02:30:45 2018 +0200 |
tree | cad99c777f2ebc54db47ea06a5e881c69ecb0048 | |
parent | 78f95fa7efe3c1bed53f99275e37670e9959e026 [diff] [blame] |
findleaves: Fix typo for --dir argument Change-Id: I9b78c304d27dd652ef49f72fa6ad9260e4ce605b
diff --git a/tools/findleaves.py b/tools/findleaves.py index f152a87..97302e9 100755 --- a/tools/findleaves.py +++ b/tools/findleaves.py
@@ -103,7 +103,7 @@ prune.append(p) elif arg.startswith("--dir="): d = arg[len("--dir="):] - if len(p) == 0: + if len(d) == 0: usage() dirlist.append(d) else: