diff --git a/tuf/scripts/repo.py b/tuf/scripts/repo.py index 0d23ddac..0189b744 100755 --- a/tuf/scripts/repo.py +++ b/tuf/scripts/repo.py @@ -435,60 +435,66 @@ def parse_arguments(): parser = argparse.ArgumentParser( description='Create or modify a TUF repository.') - # Add the parser arguments supported by PROG_NAME. - parser.add_argument('-v', '--verbose', type=int, default=2, - choices=range(0, 6), help='Set the verbosity level of logging messages.' - ' The lower the setting, the greater the verbosity. Supported logging' - ' levels: 0=UNSET, 1=DEBUG, 2=INFO, 3=WARNING, 4=ERROR,' - ' 5=CRITICAL') - parser.add_argument('-i', '--init', action='store_true', - help='Create a repository. The current working directory is' - ' used by default.') + help='Create a repository. The repository is created in the current' + ' working directory unless --path is specified.') parser.add_argument('-p', '--path', nargs='?', default='.', metavar='', help='Specify a repository path. If used' - ' with --init, the initialized repository is saved to the specified' - ' path. The current working directory is used by default.') + ' with --init, the initialized repository is saved to the given' + ' path.') parser.add_argument('-b', '--bare', action='store_true', help='If initializing a repository, neither create nor set keys' ' for any of the top-level roles. False, by default.') parser.add_argument('--consistent_snapshot', action='store_true', - help='Enable consistent snapshots. Consistent snapshot is False by' - ' default.') + help='Set consistent snapshots for an initialized repository.' + ' Consistent snapshot is False by default.') parser.add_argument('-c', '--clean', type=str, nargs='?', const='.', - metavar='