projects
/
skytools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7f7d2c
)
walmgr.py: add --version option
author
Martin Pihlak
<martin.pihlak@gmail.com>
Tue, 27 Jul 2010 07:33:20 +0000
(10:33 +0300)
committer
Martin Pihlak
<martin.pihlak@gmail.com>
Tue, 27 Jul 2010 07:33:20 +0000
(10:33 +0300)
python/walmgr.py
patch
|
blob
|
blame
|
history
diff --git
a/python/walmgr.py
b/python/walmgr.py
index d5b60d6fe56b61920998b51d88d5bfc964ac0f26..d880ef8770067666e1786102242ed2a2542a7a58 100755
(executable)
--- a/
python/walmgr.py
+++ b/
python/walmgr.py
@@
-261,6
+261,9
@@
class WalMgr(skytools.DBScript):
def __init__(self, args):
+ if len(args) == 1 and args[0] == '--version':
+ skytools.DBScript.__init__(self, 'wal-master', args)
+
if len(args) < 2:
# need at least config file and command
usage(1)