I think removing this config (the add_help is set True by default) won't do any harm and will make users feel easier to read into these descriptions.
|
parser = argparse.ArgumentParser(add_help=False) |
This line is last modified 4 years ago shipped along with the micro.py itself, see #190 5882e58.
And the add_help is originally turned off by some intention, but as a newbie, I've found it helpful if I can just run micro.py -h to see all the arg details as below:
usage: micro.py [-h] [--raw] [--enrich] [--identities-load]
[--identities-merge] [--panels] [--cfg CFG_PATH]
[--backends [BACKEND_SECTIONS [BACKEND_SECTIONS ...]]]
[--repos [REPOS_TO_CHECK [REPOS_TO_CHECK ...]]]
[--logs-dir LOGS_DIR]
optional arguments:
-h, --help show this help message and exit
--raw Activate raw task
--enrich Activate enrich task
--identities-load Activate load identities task
--identities-merge Activate merge identities task
--panels Activate panels task
--cfg CFG_PATH Configuration file path
--backends [BACKEND_SECTIONS [BACKEND_SECTIONS ...]]
Backend sections to execute
--repos [REPOS_TO_CHECK [REPOS_TO_CHECK ...]]
Limit which repositories are processed (list of URLs)
--logs-dir LOGS_DIR Logs Directory
@vchrombie @valeriocos Did I miss any details or I would issue a PR to fix that.
I think removing this config (the
add_helpis setTrueby default) won't do any harm and will make users feel easier to read into these descriptions.grimoirelab-sirmordred/sirmordred/utils/micro.py
Line 201 in c210408
This line is last modified 4 years ago shipped along with the
micro.pyitself, see #190 5882e58.And the
add_helpis originally turned off by some intention, but as a newbie, I've found it helpful if I can just runmicro.py -hto see all the arg details as below:@vchrombie @valeriocos Did I miss any details or I would issue a PR to fix that.