about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-06-14 03:53:21 +0530
committerAndinus <andinus@nand.sh>2020-06-14 03:53:21 +0530
commit8bb985a3dcd4c22c15ed50b666892421e6bcab1c (patch)
treeddf936fd8a20fad02464f948508eac1d35a0d81c
parent899a3e67167843904edcbf0d6c1a6e7ab4619b6f (diff)
downloadara-8bb985a3dcd4c22c15ed50b666892421e6bcab1c.tar.gz
Alias updated to last updated
-rwxr-xr-xara.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/ara.pl b/ara.pl
index 1b34e93..a5cc438 100755
--- a/ara.pl
+++ b/ara.pl
@@ -54,6 +54,11 @@ undef @hide{ @to_hide }
                         # Alternatively can do @hide{ @to_hide } = ()
                         # which will work even if @to_hide is empty.
 
+# Alias updated to last updated. This will allow user to just enter
+# updated in hide option.
+undef $hide{'last updated'}
+    if exists $hide{updated};
+
 # Warn when user tries to hide these columns.
 warn LOCALCOLOR RED "Cannot hide state column" if exists $hide{state};
 warn LOCALCOLOR RED "Cannot hide notes column" if exists $hide{notes};