This repository was archived by the owner on Apr 3, 2018. It is now read-only.
File tree Expand file treeCollapse file tree 1 file changed+8
-0
lines changedFilter options
+8
-0
lines changed Original file line number Diff line number Diff line change
@@ -62,6 +62,9 @@ executionType='installation'
62
62
63
63
# Default seconds before timeout
64
64
secondsBeforeTimeout=30
65
+
66
+
# Version number
67
+
versionNumber='1.4.0'
65
68
################################################################################
66
69
# We log the date
67
70
date > ${logOutput}
@@ -119,6 +122,7 @@ usage()
119
122
echo " --production -p Prepare the repository for production"
120
123
echo " --timeout -t Set the default timeout in seconds (${red}${bold}Must be before ${cyan}-u${normal} ${red}${bold}or ${cyan}-i${normal})"
121
124
echo " --update -u Update the script"
125
+
echo " --version -v Show the current version of Funceble"
122
126
echo ""
123
127
}
124
128
@@ -748,6 +752,10 @@ while [ "$#" -gt 0 ]; do
748
752
update
749
753
shift 1
750
754
;;
755
+
-v|--version)
756
+
echo "Current Version: ${versionNumber}"
757
+
exit 1
758
+
;;
751
759
-*)
752
760
echo "Unknown option: $1" >&2
753
761
exit 1
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4