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 | |
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')
-rwxr-xr-x | src/sbin/bcfg2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sbin/bcfg2 b/src/sbin/bcfg2 index e9beb47cd..62f749b80 100755 --- a/src/sbin/bcfg2 +++ b/src/sbin/bcfg2 @@ -4,7 +4,7 @@ import sys import signal from Bcfg2.Client.Client import Client -from Bcfg2.Options import get_option_parser, CLIENT_COMMON_OPTIONS +from Bcfg2.Options import load_option_parser, CLIENT_COMMON_OPTIONS def cb_sigint_handler(signum, frame): @@ -13,7 +13,7 @@ def cb_sigint_handler(signum, frame): def main(): - setup = get_option_parser(CLIENT_COMMON_OPTIONS) + setup = load_option_parser(CLIENT_COMMON_OPTIONS) setup.parse(sys.argv[1:]) if setup['args']: |