commit 2a47f88faae8e1e794c53ee7653d16dbe034bb15
parent ab0c25faa0f5378aaeb0f7b219ecdfb649c043f9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 28 Mar 2022 12:55:34 +0200
update documentation of sfeed_update example and clarify return status
Change the example to reload the feeds anyway, even if one of the feeds
(temporarily) failed to update.
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/README b/README
@@ -1057,7 +1057,8 @@ Example of a `markallread.sh` shellscript to mark all URLs as read:
Example of a `syncnews.sh` shellscript to update the feeds and reload them:
#!/bin/sh
- sfeed_update && pkill -SIGHUP sfeed_curses
+ sfeed_update
+ pkill -SIGHUP sfeed_curses
Open an URL directly in the same terminal
diff --git a/sfeed_update.1 b/sfeed_update.1
@@ -1,4 +1,4 @@
-.Dd March 21, 2022
+.Dd March 28, 2022
.Dt SFEED_UPDATE 1
.Os
.Sh NAME
@@ -62,6 +62,7 @@ stdout in the format:
.Ed
.Sh EXIT STATUS
.Ex -std
+If any of the feeds failed to update then the return status is non-zero.
.Sh EXAMPLES
To update your feeds and format them in various formats:
.Bd -literal