diff options
-rwxr-xr-x | src/sbin/bcfg2-test | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/sbin/bcfg2-test b/src/sbin/bcfg2-test index 54ddad6df..d32df5cfb 100755 --- a/src/sbin/bcfg2-test +++ b/src/sbin/bcfg2-test @@ -191,11 +191,6 @@ def run_child(setup, clients, queue): core.shutdown() -def parse_args(): - """ Parse command line arguments. """ - optinfo = dict(Bcfg2.Options.TEST_COMMON_OPTIONS) - - def get_sigint_handler(core): """ Get a function that handles SIGINT/Ctrl-C by shutting down the core and exiting properly.""" @@ -209,6 +204,10 @@ def get_sigint_handler(core): return hdlr +def parse_args(): + """ Parse command line arguments. """ + optinfo = dict(Bcfg2.Options.TEST_COMMON_OPTIONS) + optinfo.update(Bcfg2.Options.CLI_COMMON_OPTIONS) optinfo.update(Bcfg2.Options.SERVER_COMMON_OPTIONS) setup = Bcfg2.Options.OptionParser(optinfo) |