adding support for local updates

This commit is contained in:
Josh Ashton
2023-12-05 21:48:43 -07:00
parent 9ad413861f
commit c374fbcf17
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/zsh #!/bin/zsh
# Catch any input that is invalid. # Catch any input that is invalid.
if [[ $# -eq 0 || ($# -gt 1 && ( $1 != "-l" || $1 != "--local" )) ]]; then if [[ $# -eq 0 ]]; then
echo "\nImproper usage. Try:" echo "\nImproper usage. Try:"
echo "\ngpush [ \"message\" | -h | --help ]" echo "\ngpush [ \"message\" | -h | --help ]"
echo " gpush \"init commit\"" echo " gpush \"init commit\""