diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-01-17 10:00:20 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-01-17 10:00:20 -0500 |
commit | 41cfeba3ec2f4287dc1294a2c421e64f7b1224f8 (patch) | |
tree | dd176d58195505339c5f38dbc8604cef7bdb8c49 /src/sbin/bcfg2-test | |
parent | f45551e656bc9a7894ddbf4412263e9045e73154 (diff) | |
download | bcfg2-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-x | src/sbin/bcfg2-test | 2 |
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() |