Skip to content

Commit a150ac9

Browse files
committed
project: renamed add_options as set_options
1 parent 0876cc9 commit a150ac9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyfpga/project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ def add_hook(self, stage, hook):
212212
raise ValueError('Invalid stage.')
213213
self.data.setdefault('hooks', {}).setdefault(stage, []).append(hook)
214214

215-
def add_options(self, command, options):
216-
"""Add options for the specified underlying command.
215+
def set_options(self, command, options):
216+
"""Set extra options for the specified underlying command.
217217
218218
:param command: command where to apply the options
219219
:type command: str

0 commit comments

Comments
 (0)