projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44c4483
)
Make ganeti-watcher use the standard debug option
author
Iustin Pop
<iustin@google.com>
Thu, 17 Sep 2009 12:58:53 +0000
(14:58 +0200)
committer
Iustin Pop
<iustin@google.com>
Fri, 18 Sep 2009 10:53:52 +0000
(12:53 +0200)
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
daemons/ganeti-watcher
patch
|
blob
|
history
diff --git
a/daemons/ganeti-watcher
b/daemons/ganeti-watcher
index
1e29f64
..
e77db0c
100755
(executable)
--- a/
daemons/ganeti-watcher
+++ b/
daemons/ganeti-watcher
@@
-462,9
+462,7
@@
def ParseOptions():
version="%%prog (ganeti) %s" %
constants.RELEASE_VERSION)
- parser.add_option("-d", "--debug", dest="debug",
- help="Write all messages to stderr",
- default=False, action="store_true")
+ parser.add_option(cli.DEBUG_OPT)
parser.add_option("-A", "--job-age", dest="job_age",
help="Autoarchive jobs older than this age (default"
" 6 hours)", default=6*3600)