summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-test
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-01-17 10:00:20 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-01-17 10:00:20 -0500
commit41cfeba3ec2f4287dc1294a2c421e64f7b1224f8 (patch)
treedd176d58195505339c5f38dbc8604cef7bdb8c49 /src/sbin/bcfg2-test
parentf45551e656bc9a7894ddbf4412263e9045e73154 (diff)
downloadbcfg2-41cfeba3ec2f4287dc1294a2c421e64f7b1224f8.tar.gz
bcfg2-41cfeba3ec2f4287dc1294a2c421e64f7b1224f8.tar.bz2
bcfg2-41cfeba3ec2f4287dc1294a2c421e64f7b1224f8.zip
Options: split loading a new OptionParser from fetching an existing parser
Diffstat (limited to 'src/sbin/bcfg2-test')
-rwxr-xr-xsrc/sbin/bcfg2-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-test b/src/sbin/bcfg2-test
index a708a233a..28023a0f2 100755
--- a/src/sbin/bcfg2-test
+++ b/src/sbin/bcfg2-test
@@ -69,7 +69,7 @@ def main():
validate=Bcfg2.Options.CFG_VALIDATION)
optinfo.update(Bcfg2.Options.CLI_COMMON_OPTIONS)
optinfo.update(Bcfg2.Options.SERVER_COMMON_OPTIONS)
- setup = Bcfg2.Options.get_option_parser(args=optinfo)
+ setup = Bcfg2.Options.load_option_parser(optinfo)
setup.hm = \
"bcfg2-test [options] [client] [client] [...]\nOptions:\n %s" % \
setup.buildHelpMessage()