From 51e87c6b0a0253d2401c92a4a42d1b4d1e12bb2f Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 12 Oct 2020 22:15:12 -0700 Subject: [PATCH] Add --push to the help text. --- gitcheckup.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gitcheckup.py b/gitcheckup.py index 2a7fb3d..5410345 100644 --- a/gitcheckup.py +++ b/gitcheckup.py @@ -1,4 +1,7 @@ ''' +gitcheckup +========== + This program helps you check the commit and push status of your favorite git repositories. The output looks like this: @@ -10,7 +13,10 @@ repositories. The output looks like this: To specify the list of git directories, you may either: - Create a gitcheckup.txt file in the same directory as this file, where every line contains an absolute path to the directory, or -- Pass directories as a series of arguments to this program. +- Pass directories as a series of positional arguments to this program. + +> gitcheckup.py +> gitcheckup.py dir1 dir2 flags: --fetch: @@ -19,6 +25,9 @@ flags: --pull: Run `git pull --all` in each directory. +--push: + Run `git push` in each directory. + --add path: Add path to the gitcheckup.txt file.