diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-03-28 12:55:34 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-03-28 12:58:09 +0200 |
commit | 2a47f88faae8e1e794c53ee7653d16dbe034bb15 (patch) | |
tree | fc96dbdb65aaa5da34c4396fadac0625dcf26235 | |
parent | ab0c25faa0f5378aaeb0f7b219ecdfb649c043f9 (diff) |
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.
-rw-r--r-- | README | 3 | ||||
-rw-r--r-- | sfeed_update.1 | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -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 index 3edf551..893f290 100644 --- 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 |