]> gitweb.fluxo.info Git - scripts.git/commitdiff
Fix: use --refresh
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 3 Nov 2020 22:38:33 +0000 (19:38 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 3 Nov 2020 22:38:33 +0000 (19:38 -0300)
show

diff --git a/show b/show
index 3db4ac5d17f0cbd2c816b69755d73aa455f99e33..35008dc92c0068eff529b7bc06f29f8292273d1c 100755 (executable)
--- 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"