mirror of
https://github.com/BioArchLinux/bioarchlinux-tools.git
synced 2025-03-09 22:53:31 +00:00
show default in help
This commit is contained in:
parent
999fe6a385
commit
aba117a391
2 changed files with 2 additions and 3 deletions
|
@ -332,9 +332,8 @@ def update_depends_by_file(file, bioarch_path="BioArchLinux", bioc_min_ver="3.0"
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
prog='depends updater for BioArchLinux',
|
|
||||||
description='update the depends of R packages from CRAN and Bioconductor automatically',
|
description='update the depends of R packages from CRAN and Bioconductor automatically',
|
||||||
epilog='Text at the bottom of help'
|
formatter_class=argparse.ArgumentDefaultsHelpFormatter
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--file', help='The file that contains the pkgname to be archived, one pkgname per line')
|
'--file', help='The file that contains the pkgname to be archived, one pkgname per line')
|
||||||
|
|
|
@ -125,8 +125,8 @@ if __name__ == '__main__':
|
||||||
d = Downloader()
|
d = Downloader()
|
||||||
download_path = os.getenv('BIO_META_PATH', 'bioc')
|
download_path = os.getenv('BIO_META_PATH', 'bioc')
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
prog='R package metadata sync tool',
|
|
||||||
description='Sync metadata of R packages from CRAN and Bioconductor to a local path',
|
description='Sync metadata of R packages from CRAN and Bioconductor to a local path',
|
||||||
|
formatter_class=argparse.ArgumentDefaultsHelpFormatter
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--path', help='The path to store the metadata files. '
|
'--path', help='The path to store the metadata files. '
|
||||||
|
|
Loading…
Add table
Reference in a new issue