Add command aliases with hyphens.

master
voussoir 2022-09-07 18:03:54 -07:00
parent 806429d3f5
commit 08cfa3db0e
No known key found for this signature in database
GPG Key ID: 5F7554F8C26DACCB
1 changed files with 5 additions and 5 deletions

View File

@ -118,7 +118,7 @@ def main(argv):
# GET_COMMENTS # GET_COMMENTS
p_get_comments = subparsers.add_parser( p_get_comments = subparsers.add_parser(
'get_comments', 'get_comments',
aliases=['commentaugment'], aliases=['get-comments', 'commentaugment'],
description=''' description='''
Collect comments on a subreddit or comments made by a user. Collect comments on a subreddit or comments made by a user.
''', ''',
@ -181,7 +181,7 @@ def main(argv):
# GET_STYLES # GET_STYLES
p_get_styles = subparsers.add_parser( p_get_styles = subparsers.add_parser(
'get_styles', 'get_styles',
aliases=['getstyles'], aliases=['get-styles', 'getstyles'],
help=''' help='''
Collect the stylesheet, and css images. Collect the stylesheet, and css images.
''', ''',
@ -196,7 +196,7 @@ def main(argv):
# GET_WIKI # GET_WIKI
p_get_wiki = subparsers.add_parser( p_get_wiki = subparsers.add_parser(
'get_wiki', 'get_wiki',
aliases=['getwiki'], aliases=['get-wiki', 'getwiki'],
description=''' description='''
Collect all available wiki pages. Collect all available wiki pages.
''', ''',
@ -288,7 +288,7 @@ def main(argv):
# MERGEDB' # MERGEDB'
p_merge_db = subparsers.add_parser( p_merge_db = subparsers.add_parser(
'merge_db', 'merge_db',
aliases=['mergedb'], aliases=['merge-db', 'mergedb'],
description=''' description='''
Copy all new posts from one timesearch database into another. Copy all new posts from one timesearch database into another.
''', ''',
@ -485,7 +485,7 @@ def main(argv):
# GET_SUBMISSIONS # GET_SUBMISSIONS
p_get_submissions = subparsers.add_parser( p_get_submissions = subparsers.add_parser(
'get_submissions', 'get_submissions',
aliases=['timesearch'], aliases=['get-submissions', 'timesearch'],
description=''' description='''
Collect submissions from the subreddit across all of history, or Collect submissions from the subreddit across all of history, or
Collect submissions by a user (as many as possible). Collect submissions by a user (as many as possible).