aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/linkage.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--project/linkage.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/project/linkage.py b/project/linkage.py
index ffef071..29e1fff 100644
--- a/project/linkage.py
+++ b/project/linkage.py
@@ -24,3 +24,6 @@ class Linkage(Enum):
return Linkage(s)
except ValueError as e:
raise argparse.ArgumentTypeError(f'invalid linkage: {s}') from e
+
+ def b2_args(self, name='link'):
+ return [f'{name}={self}']