From d2ddd1b05a4a7d6cc9a02f0fbe35408712e96845 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Sat, 30 May 2020 00:06:54 -0500 Subject: [PATCH] Cleaning up argument list output --- CHANGELOG.md | 3 +++ README.md | 5 ++--- VERSION | 2 +- gravity-sync.sh | 16 ++++++++-------- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 610ca62..16033be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,9 @@ Delete the `dev` file and update again to revert back to the stable/master branc **Deprecation** - Removes `beta` function for applying development branch updates. +#### 1.7.3 +- Cleaning up output of argument listing + ## 1.6 ### The Restorative Release diff --git a/README.md b/README.md index b663ada..8b5bf60 100644 --- a/README.md +++ b/README.md @@ -45,9 +45,8 @@ Download the latest release from [GitHub](https://github.com/vmstan/gravity-sync ```bash cd ~ -wget https://github.com/vmstan/gravity-sync/archive/v1.7.2.zip -unzip v1.7.2.zip -mv ~/gravity-sync-1.7.2 ~/gravity-sync +wget https://github.com/vmstan/gravity-sync/archive/v1.7.3.zip +unzip v1.7.3.zip -d gravity-sync cd gravity-sync ``` diff --git a/VERSION b/VERSION index 0a182f2..bbf649f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.7.2 \ No newline at end of file +1.7.3 \ No newline at end of file diff --git a/gravity-sync.sh b/gravity-sync.sh index c27adcd..bdb7887 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -2,7 +2,7 @@ # GRAVITY SYNC BY VMSTAN ##################### PROGRAM='Gravity Sync' -VERSION='1.7.2' +VERSION='1.7.3' # Execute from the home folder of the user who owns it (ex: 'cd ~/gravity-sync') # For documentation or downloading updates visit https://github.com/vmstan/gravity-sync @@ -871,15 +871,15 @@ function list_gs_arguments { echo -e "" echo -e "Setup Options:" echo -e " ${YELLOW}config${NC} Create a new ${CONFIG_FILE} file" - echo -e " ${YELLOW}automate${NC} Add scheduled task to run sync" - echo -e " ${YELLOW}update${NC} Use GitHub to update this script to the latest version" - echo -e " ${YELLOW}version${NC} Display your version of ${PROGRAM}" + echo -e " ${YELLOW}automate${NC} Add a scheduled pull task to crontab" + echo -e " ${YELLOW}update${NC} Update ${PROGRAM} to the latest version" + echo -e " ${YELLOW}version${NC} Display installed version of ${PROGRAM}" echo -e "" echo -e "Replication Options:" - echo -e " ${YELLOW}pull${NC} Sync the ${GRAVITY_FI} database on primary Pi-hole to this server" - echo -e " ${YELLOW}push${NC} Force any changes made on this server back to the primary Pi-hole" - echo -e " ${YELLOW}restore${NC} Restore ${GRAVITY_FI} on this server from previous copy" - echo -e " ${YELLOW}compare${NC} Just check for differences between primary and secondary" + echo -e " ${YELLOW}pull${NC} Sync remote ${GRAVITY_FI} to this server" + echo -e " ${YELLOW}push${NC} Force changes made on this server back" + echo -e " ${YELLOW}restore${NC} Restore ${GRAVITY_FI} on this server" + echo -e " ${YELLOW}compare${NC} Just check for differences" echo -e "" # echo -e "Update Options:" # echo -e " ${YELLOW}update${NC} Use GitHub to update this script to the latest version"