ArgumentParser¶
Description
- class lab_utils.socket_comm.ArgumentParser(prog=None, usage=None, description=None, epilog=None, parents=None, formatter_class=<class 'argparse.HelpFormatter'>, prefix_chars='-', fromfile_prefix_chars=None, argument_default=None, conflict_handler='error', add_help=False, allow_abbrev=True)[source]¶
Modifies some annoying behaviours of the
argparse
library.Methods
Overrides the default initialization of
add_help
to False.Avoids the call to
sys.exit()
when an error is encountered.Creates a complete help message for the daemon usage.