Skip to content

Commit

Permalink
Fix help strings and consistently use docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
daneah committed Apr 17, 2024
1 parent 0be55db commit e0ad349
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/repo_man/commands/list_repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from repo_man.utils import ensure_config_file_exists, parse_repo_types, pass_config


@click.command(name="list", help="The type of repository to manage")
@click.command(name="list")
@click.option("-t", "--type", "repo_types", multiple=True, show_choices=False, required=True)
@pass_config
def list_repos(config: configparser.ConfigParser, repo_types: list[str]) -> None:
Expand Down
2 changes: 1 addition & 1 deletion src/repo_man/commands/remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from repo_man.utils import ensure_config_file_exists, parse_repo_types, pass_config


@click.command(name="remove", help="Remove a repository from one or more types")
@click.command(name="remove")
@click.option("-t", "--type", "repo_types", multiple=True, help="The types from which to remove the repository")
@click.argument("repo", type=click.Path(exists=True, file_okay=False))
@pass_config
Expand Down

0 comments on commit e0ad349

Please sign in to comment.