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 12:55:52 -0500 |
commit | 4ea3569a0b396622a6c156588c4c8752a8dd7738 (patch) | |
tree | 8b04be472f79d6118b7fd9d68ee74c0c38b58145 /src/sbin/bcfg2-test | |
parent | f8b31cfa1596a17b248e28b82362e2d5e542b8ff (diff) | |
download | bcfg2-4ea3569a0b396622a6c156588c4c8752a8dd7738.tar.gz bcfg2-4ea3569a0b396622a6c156588c4c8752a8dd7738.tar.bz2 bcfg2-4ea3569a0b396622a6c156588c4c8752a8dd7738.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() |