Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove UUID from help texts #610

Merged
merged 1 commit into from
May 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azure-devops/azext_devops/dev/boards/work_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def query_work_items(wiql=None, id=None, path=None, organization=None, project=N
"""Query for a list of work items.
:param wiql: The query in Work Item Query Language format. Ignored if --id or --path is specified.
:type wiql: str
:param id: The UUID of an existing query. Required unless --path or --wiql are specified.
:param id: The ID of an existing query. Required unless --path or --wiql are specified.
:type id: str
:param path: The path of an existing query. Ignored if --id is specified.
:type path: str
Expand Down
2 changes: 1 addition & 1 deletion azure-devops/azext_devops/dev/common/uuid.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


def is_uuid(text):
"""Returns true if the text is a UUID.
"""Returns true if the text is a GUID.
:param text: The text to validate.
:type text: str
:rtype: bool
Expand Down
2 changes: 1 addition & 1 deletion azure-devops/azext_devops/dev/repos/policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

def list_policy(organization=None, project=None, repository_id=None, branch=None, detect=None):
"""List all policies in a project.
:param repository_id: Id (UUID) of the repository.
:param repository_id: Id of the repository.
:type repository_id: string
:param branch: Branch. (--repository-id is required)
:type branch: string
Expand Down
4 changes: 2 additions & 2 deletions azure-devops/azext_devops/dev/team/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def create_project(name, organization=None, process=None, source_control='git',

def delete_project(id, organization=None, detect=None): # pylint: disable=redefined-builtin
"""Delete team project.
:param id: The id (UUID) of the project to delete.
:param id: The id of the project to delete.
:type id: str
"""
organization = resolve_instance(detect=detect, organization=organization)
Expand All @@ -105,7 +105,7 @@ def delete_project(id, organization=None, detect=None): # pylint: disable=redef

def show_project(project, organization=None, detect=None, open=False): # pylint: disable=redefined-builtin
"""Show team project.
:param project: The id (UUID) or name of the project to show.
:param project: The id or name of the project to show.
:type project: str
:param open: Open the team project in the default web browser.
:type open: bool
Expand Down
2 changes: 1 addition & 1 deletion azure-devops/azext_devops/dev/team/team.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def create_team(name, description=None, organization=None, project=None, detect=

def delete_team(id, organization=None, project=None, detect=None): # pylint: disable=redefined-builtin
"""Delete a team.
:param id: The id (UUID) of the team to delete.
:param id: The id of the team to delete.
:type id: str
"""
organization, project = resolve_instance_and_project(detect=detect,
Expand Down