summaryrefslogtreecommitdiff
path: root/tools/mergetools.py
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2015-09-25 16:26:42 +0200
committerLinus Nordberg <linus@nordu.net>2015-11-10 12:48:47 +0100
commit5825db44c73510e71e34f020e3efd03bd49ffd0c (patch)
tree80b04f7ab82b1c8d1bb6721b63baa88ec7f1584c /tools/mergetools.py
parent67e2935f90f89ecc93dc98c430148829ad3f2908 (diff)
merge_backup.py and merge_dist.py take nodes on command line.
If no nodes are given on the command line, all appropriate nodes are used.
Diffstat (limited to 'tools/mergetools.py')
-rw-r--r--tools/mergetools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/mergetools.py b/tools/mergetools.py
index 86f9255..7b674de 100644
--- a/tools/mergetools.py
+++ b/tools/mergetools.py
@@ -391,6 +391,7 @@ def chunks(l, n):
def parse_args():
parser = argparse.ArgumentParser(description="")
+ parser.add_argument('node', nargs='*', help="Node to operate on")
parser.add_argument('--config', help="System configuration",
required=True)
parser.add_argument('--localconfig', help="Local configuration",