Added --version option
This commit is contained in:
parent
4af5baa041
commit
dedc589287
1 changed files with 2 additions and 1 deletions
|
@ -135,7 +135,8 @@ function listnotes() {
|
||||||
function shellnotes() {
|
function shellnotes() {
|
||||||
if [[ $1 == "-v" ]]; then
|
if [[ $1 == "-v" ]]; then
|
||||||
echo "Shellnotes version: 1.2"
|
echo "Shellnotes version: 1.2"
|
||||||
|
elif [[ $2 == "--version" ]]; then
|
||||||
|
echo "Shellnotes version: 1.2"
|
||||||
elif [[ $1 == "-r" ]]; then
|
elif [[ $1 == "-r" ]]; then
|
||||||
echo "Github repository: https://github.com/dmarakom6/shellnotes/blob/master/"
|
echo "Github repository: https://github.com/dmarakom6/shellnotes/blob/master/"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue