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-09-25 16:26:42 +0200
commit300149c520921523f107537be5a3bb20fed829f0 (patch)
tree119126f4a6bc11690a4ca262201cc57c33412500 /tools/mergetools.py
parent02ab9ba3b43d7d42323db2effd787a0dce64e378 (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",