FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Change option to --all-starred · emptywee/python-github-backup@7cccd42 · GitHub

Commit 7cccd42

Browse files
committed
Change option to --all-starred
1 parent 9a539b1 commit 7cccd42

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎README.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ CLI Usage is as follows::
3232
[--all] [--issues] [--issue-comments] [--issue-events]
3333
[--pulls] [--pull-comments] [--pull-commits] [--labels]
3434
[--hooks] [--milestones] [--repositories] [--bare] [--lfs]
35-
[--wikis] [--skip-existing] [--clone-starred]
35+
[--wikis] [--skip-existing]
3636
[-L [LANGUAGES [LANGUAGES ...]]] [-N NAME_REGEX]
3737
[-H GITHUB_HOST] [-O] [-R REPOSITORY] [-P] [-F]
3838
[--prefer-ssh] [-v]

‎bin/github-backup‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ def parse_args():
159159
parser.add_argument('--starred',
160160
action='store_true',
161161
dest='include_starred',
162-
help='include starred repositories in backup')
163-
parser.add_argument('--clone-starred',
162+
help='include JSON output of starred repositories in backup')
163+
parser.add_argument('--all-starred',
164164
action='store_true',
165-
dest='clone_starred',
166-
help='clone starred repositories in backup')
165+
dest='all_starred',
166+
help='include starred repositories in backup')
167167
parser.add_argument('--watched',
168168
action='store_true',
169169
dest='include_watched',
@@ -505,7 +505,7 @@ def retrieve_repositories(args):
505505

506506
repos = retrieve_data(args, template, single_request=single_request)
507507

508-
if args.clone_starred:
508+
if args.all_starred:
509509
starred_template = 'https://{0}/user/starred'.format(
510510
get_github_api_host(args))
511511
starred_repos = retrieve_data(args, starred_template, single_request=False)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL