From 0233bff696ae9304df60bdd7fe14ee16c9179e06 Mon Sep 17 00:00:00 2001 From: Remi Rampin Date: Tue, 6 Sep 2016 12:22:33 -0400 Subject: [PATCH 1/2] Don't pretend program name is "Github Backup" --- bin/github-backup | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/github-backup b/bin/github-backup index 64d4ba8..b290de6 100755 --- a/bin/github-backup +++ b/bin/github-backup @@ -107,8 +107,7 @@ def mask_password(url, secret='*****'): return url.replace(parsed.password, secret) def parse_args(): - parser = argparse.ArgumentParser(description='Backup a github account', - prog='Github Backup') + parser = argparse.ArgumentParser(description='Backup a github account') parser.add_argument('user', metavar='USER', type=str, From 9d7d98b19e81ea626fccf9a9475b8900e1106fc8 Mon Sep 17 00:00:00 2001 From: Remi Rampin Date: Tue, 6 Sep 2016 12:20:43 -0400 Subject: [PATCH 2/2] Update README.rst --- README.rst | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.rst b/README.rst index da86577..3adc82d 100644 --- a/README.rst +++ b/README.rst @@ -25,15 +25,15 @@ Usage CLI Usage is as follows:: - Github Backup [-h] [-u USERNAME] [-p PASSWORD] [-t TOKEN] - [-o OUTPUT_DIRECTORY] [--starred] [--watched] [--all] - [--issues] [--issue-comments] [--issue-events] [--pulls] - [--pull-comments] [--pull-commits] [--labels] [--hooks] - [--milestones] [--repositories] [--wikis] - [--skip-existing] [-L [LANGUAGES [LANGUAGES ...]]] - [-N NAME_REGEX] [-H GITHUB_HOST] [-O] [-R REPOSITORY] - [-P] [-F] [--prefer-ssh] [-v] - USER + github-backup [-h] [-u USERNAME] [-p PASSWORD] [-t TOKEN] + [-o OUTPUT_DIRECTORY] [-i] [--starred] [--watched] + [--all] [--issues] [--issue-comments] [--issue-events] + [--pulls] [--pull-comments] [--pull-commits] [--labels] + [--hooks] [--milestones] [--repositories] [--wikis] + [--skip-existing] [-L [LANGUAGES [LANGUAGES ...]]] + [-N NAME_REGEX] [-H GITHUB_HOST] [-O] [-R REPOSITORY] + [-P] [-F] [--prefer-ssh] [-v] + USER Backup a github account @@ -51,6 +51,7 @@ CLI Usage is as follows:: personal access or OAuth token -o OUTPUT_DIRECTORY, --output-directory OUTPUT_DIRECTORY directory at which to backup the repositories + -i, --incremental incremental backup --starred include starred repositories in backup --watched include watched repositories in backup --all include everything in backup