Add version command.
This commit is contained in:
parent
44d7def8d4
commit
d3713b6bad
@ -24,6 +24,7 @@ ISIDORE_CONFIG_DIR_OPTIONS=(
|
||||
ISIDORE_AUTHOR_NAME=""
|
||||
|
||||
PROG_NAME=$0
|
||||
PROJECT_NAME="Isidore"
|
||||
|
||||
##
|
||||
# Create the configuration file. This function is called if it does not already
|
||||
@ -153,6 +154,8 @@ case $1 in
|
||||
clean_project;;
|
||||
help)
|
||||
print_help;;
|
||||
version)
|
||||
echo "$PROJECT_NAME v$ISIDORE_VERSION";;
|
||||
*)
|
||||
echo "Unknown command $1. Use the 'help' command."
|
||||
print_usage;;
|
||||
|
Loading…
Reference in New Issue
Block a user