Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit c52f014

Browse files
committed
Updated help text
1 parent 7f503b0 commit c52f014

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/scrape.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
def get_args():
14-
parser = ArgumentParser(prog='Create', description='scrapes the data for rows in Wikis and stores the data in the database')
14+
parser = ArgumentParser(prog='Scrape', description='scrapes the data for rows in Wikis and stores the data in the database')
1515
parser.add_argument("-n", "--new", action="store_true", help="scrape only new pages (those that have not been scraped before)")
1616
parser.add_argument("-v", "--verbose", action="count", default=0, help="increase output verbosity")
1717
return parser.parse_args()
@@ -49,6 +49,7 @@ def purge(site, session, args, pageids):
4949
if args.verbose > 1:
5050
print(message)
5151

52+
5253
def run():
5354
args = get_args()
5455
start_time = time.time()

scripts/sync_pages_to_db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
def get_args():
14-
parser = ArgumentParser(prog='Create', description='creates Wiki records in the database corresponding to the pages that were created in the wiki')
14+
parser = ArgumentParser(prog='Sync', description='creates Wiki records in the database corresponding to the pages that were created in the wiki')
1515
parser.add_argument("-v", "--verbose", action="count", default=0, help="increase output verbosity")
1616
return parser.parse_args()
1717

0 commit comments

Comments
 (0)