sfeed_markread: simplify, always print all usage instructions - sfeed_curses - … | |
git clone git://git.codemadness.org/sfeed_curses | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit fc93b4fee3ca1aa3430458e848d2f37ff010074d | |
parent e2a3071bb2729a3bc87db2322e351bc60fb4d9ff | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sat, 24 Jul 2021 22:52:41 +0200 | |
sfeed_markread: simplify, always print all usage instructions | |
Diffstat: | |
M sfeed_markread | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/sfeed_markread b/sfeed_markread | |
@@ -3,13 +3,13 @@ | |
usage() { | |
echo "usage: $0 <read|unread> [urlfile]" >&2 | |
+ echo "" >&2 | |
+ echo "An urlfile must be set as a parameter or with the environment va… | |
exit 1 | |
} | |
urlfile="${2:-${SFEED_URL_FILE}}" | |
if test -z "${urlfile}"; then | |
- echo "An urlfile must be set as a parameter or with the environment va… | |
- echo "" >&2 | |
usage | |
fi | |