Skip to content

Commit

Permalink
docs: update description of parse-pr-query
Browse files Browse the repository at this point in the history
  • Loading branch information
sarina committed Sep 26, 2022
1 parent b418988 commit 6555a77
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ optional arguments:
```
usage: parse-pr-query.py [-h] [-Q QUERY] [-B]
Takes a query over PRs and writes a json file that contains [repo_name,
pr_branch_name] for each PR result in the query. Probably will do funky
stuff if you don't include 'is:pr' in your query.
Takes a query over PRs and writes a json file that contains [pr_url, repo_name]
for each PR result in the query. Probably will do funky stuff if you don't
include 'is:pr' in your query.
optional arguments:
-h, --help show this help message and exit
Expand Down
8 changes: 4 additions & 4 deletions parse-pr-query.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""
usage: parse-pr-query.py [-h] [-Q QUERY] [-B]
Takes a query over PRs and writes a json file that contains [repo_name,
pr_branch_name] for each PR result in the query. Probably will do funky stuff if
you don't include 'is:pr' in your query.
Takes a query over PRs and writes a json file that contains [pr_url, repo_name]
for each PR result in the query. Probably will do funky stuff if you don't
include 'is:pr' in your query.
optional arguments:
-h, --help show this help message and exit
Expand Down Expand Up @@ -73,7 +73,7 @@ def parse_prs(search_query, branch_name=False):
sys.exit("*** ERROR ***\nGITHUB_TOKEN must be defined in this environment")

parser = argparse.ArgumentParser(
description="Takes a query over PRs and writes a json file that contains [repo_name, pr_branch_name] for each PR result in the query. Probably will do funky stuff if you don't include 'is:pr' in your query."
description="Takes a query over PRs and writes a json file that contains [pr_url, repo_name] for each PR result in the query. Probably will do funky stuff if you don't include 'is:pr' in your query."
)

parser.add_argument(
Expand Down

0 comments on commit 6555a77

Please sign in to comment.