aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-11-03 19:38:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-11-03 19:38:33 -0300
commit13876e9df1e1145d7220ad3b55b4b95559002663 (patch)
tree9df816f363f24ea65f453473843e2bd074c2b168
parent4d4d59ec701a6944810753eadc92385c79b7a7db (diff)
downloadscripts-13876e9df1e1145d7220ad3b55b4b95559002663.tar.gz
scripts-13876e9df1e1145d7220ad3b55b4b95559002663.tar.bz2
Fix: use --refresh
-rwxr-xr-xshow2
1 files changed, 1 insertions, 1 deletions
diff --git a/show b/show
index 3db4ac5..35008dc 100755
--- a/show
+++ b/show
@@ -21,7 +21,7 @@ function __update_filelist {
if [ -z "$ITEM" ]; then
echo "usage: $BASENAME <item-name>"
exit 1
-elif [ "$ITEM" == "refresh" ]; then
+elif [ "$ITEM" == "--refresh" ]; then
__update_filelist
elif [ ! -d "$DOCS" ]; then
echo "missing $DOCS folder"