summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-07-01 10:42:46 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-07-01 16:09:22 -0400
commit6f9d6faf954b25e80b6868b096ee306b7dbb94b7 (patch)
tree1e348059aa85af77863081589628658fb022b998 /src
parentecada03de86bb53ae367ce74434bd9bab11f42ea (diff)
downloadbcfg2-6f9d6faf954b25e80b6868b096ee306b7dbb94b7.tar.gz
bcfg2-6f9d6faf954b25e80b6868b096ee306b7dbb94b7.tar.bz2
bcfg2-6f9d6faf954b25e80b6868b096ee306b7dbb94b7.zip
bcfg2-info: added command timeout option
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sbin/bcfg2-info3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info
index 133e1ccb3..406e7e003 100755
--- a/src/sbin/bcfg2-info
+++ b/src/sbin/bcfg2-info
@@ -758,7 +758,8 @@ USAGE = build_usage()
def main():
optinfo = dict(profile=Bcfg2.Options.CORE_PROFILE,
interactive=Bcfg2.Options.INTERACTIVE,
- interpreter=Bcfg2.Options.INTERPRETER)
+ interpreter=Bcfg2.Options.INTERPRETER,
+ command_timeout=Bcfg2.Options.CLIENT_COMMAND_TIMEOUT)
optinfo.update(Bcfg2.Options.INFO_COMMON_OPTIONS)
setup = Bcfg2.Options.OptionParser(optinfo)
setup.hm = "\n".join([" bcfg2-info [options] [command <command args>]",