Cleaning up argument list output

This commit is contained in:
Michael Stanclift 2020-05-30 00:06:54 -05:00
parent d5acb9375e
commit d2ddd1b05a
4 changed files with 14 additions and 12 deletions

View File

@ -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

View File

@ -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
```

View File

@ -1 +1 @@
1.7.2
1.7.3

View File

@ -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"