aboutsummaryrefslogtreecommitdiff
path: root/src/ee/tools/digikey_search_parts.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ee/tools/digikey_search_parts.py')
-rw-r--r--src/ee/tools/digikey_search_parts.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ee/tools/digikey_search_parts.py b/src/ee/tools/digikey_search_parts.py
index 07c3017..9f35e33 100644
--- a/src/ee/tools/digikey_search_parts.py
+++ b/src/ee/tools/digikey_search_parts.py
@@ -6,17 +6,16 @@ from ee.digikey.search_parts import search_parts
parser = argparse.ArgumentParser()
parser.add_argument("--in",
- dest="in_",
+ dest="in_path",
required=True,
- metavar="FILE")
+ metavar="PART DB")
parser.add_argument("--out",
required=True,
- metavar="FILE")
+ metavar="PART DB")
args = parser.parse_args()
cache_dir = ".ee/cache/digikey"
-force = True
-search_parts(Path(args.in_), Path(args.out), Path(cache_dir), force)
+search_parts(Path(args.in_path), Path(args.out), Path(cache_dir))