aboutsummaryrefslogtreecommitdiff
path: root/metadot
diff options
context:
space:
mode:
Diffstat (limited to 'metadot')
-rwxr-xr-xmetadot2
1 files changed, 2 insertions, 0 deletions
diff --git a/metadot b/metadot
index 1f39888..3ba6c28 100755
--- a/metadot
+++ b/metadot
@@ -77,6 +77,8 @@ if [ -z "$OPT" ]; then
exit 1
elif [ "$OPT" == "ls" ]; then
ls -1 $MODULES
+elif [ "$OPT" == "version" ]; then
+ ( cd $DOT && git log -n 1 )
elif [ "$OPT" == "update" ]; then
( cd $DOT && git pull origin master && git submodule update --init )
elif [ "$OPT" == "backup" ]; then