From d3713b6bade185e8bc82161153d542b9a35dcc35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Sat, 29 Oct 2022 14:24:36 +0200 Subject: [PATCH] Add version command. --- isidore.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/isidore.sh b/isidore.sh index 3b1e23c..07c1446 100755 --- a/isidore.sh +++ b/isidore.sh @@ -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;;