Skip to content

Commit 7b637c4

Browse files
committed
from feedbacks: comment and description changes
1 parent 2911ffd commit 7b637c4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

hermetic_build/library_generation/cli/entry_point.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def main(ctx):
6666
The library name of a library is the value of library_name or api_shortname,
6767
if library_name is not specified, in the generation configuration.
6868
69-
If neither this or --api-path specified, all libraries in the
69+
If neither --library-names or --api-path specified, all libraries in the
7070
generation configuration will be generated.
7171
""",
7272
)
@@ -82,7 +82,7 @@ def main(ctx):
8282
API directory, e.g. google/cloud/functions/v2.
8383
8484
Takes precedence over --library-names when specidied.
85-
If neither this or --api-path specified, all libraries in the
85+
If neither --library-names or --api-path specified, all libraries in the
8686
generation configuration will be generated.
8787
""",
8888
)

hermetic_build/library_generation/generate_repo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ def _get_target_libraries_from_api_path(
126126
) -> list[LibraryConfig]:
127127
"""
128128
Retrieves a copy of the LibraryConfig objects that contain the specified
129-
target API path, removed other proto_path versions from LibraryConfig if any.
130-
proto_path that is dependency, not another version is kept.
129+
target API path, without other proto_path versions that were not specified.
130+
dependency proto_paths are kept.
131131
132132
:param config: The GenerationConfig object.
133133
:param target_api_path: The target proto path to search for.

0 commit comments

Comments
 (0)