summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2021-01-03 14:46:01 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2021-01-03 14:46:01 +0100
commitb829948d9da8dbbea6d7275ebc1021000114ba15 (patch)
tree2c8659b62d690141f46d35c9dddbbad7814187d5
parent8c85cbf85c42eca17f18ffe45ffc6bde695a4e26 (diff)
man pages: add more real world examples to the man pages
-rw-r--r--sfeed_gopher.17
-rw-r--r--sfeed_opml_export.16
-rw-r--r--sfeed_opml_import.16
3 files changed, 16 insertions, 3 deletions
diff --git a/sfeed_gopher.1 b/sfeed_gopher.1
index 401a127..40f9c33 100644
--- a/sfeed_gopher.1
+++ b/sfeed_gopher.1
@@ -1,4 +1,4 @@
-.Dd March 15, 2020
+.Dd January 3, 2021
.Dt SFEED_GOPHER 1
.Os
.Sh NAME
@@ -46,6 +46,11 @@ The default is "70".
.El
.Sh EXIT STATUS
.Ex -std
+.Sh EXAMPLES
+.Bd -literal
+SFEED_GOPHER_HOST="codemadness.org" SFEED_GOPHER_PATH="/feeds/" \\
+ sfeed_gopher ~/.sfeed/feeds/*
+.Ed
.Sh SEE ALSO
.Xr sfeed 1 ,
.Xr sfeed 5
diff --git a/sfeed_opml_export.1 b/sfeed_opml_export.1
index 650e391..29489de 100644
--- a/sfeed_opml_export.1
+++ b/sfeed_opml_export.1
@@ -1,4 +1,4 @@
-.Dd March 15, 2020
+.Dd January 3, 2021
.Dt SFEED_OPML_EXPORT 1
.Os
.Sh NAME
@@ -24,6 +24,10 @@ section for more information.
.El
.Sh EXIT STATUS
.Ex -std
+.Sh EXAMPLES
+.Bd -literal
+sfeed_opml_export ~/.sfeed/sfeedrc > opmlfile.xml
+.Ed
.Sh SEE ALSO
.Xr sfeed_update 1 ,
.Xr sfeedrc 5
diff --git a/sfeed_opml_import.1 b/sfeed_opml_import.1
index d1c9163..f2f6b0a 100644
--- a/sfeed_opml_import.1
+++ b/sfeed_opml_import.1
@@ -1,4 +1,4 @@
-.Dd March 15, 2020
+.Dd January 3, 2021
.Dt SFEED_OPML_IMPORT 1
.Os
.Sh NAME
@@ -11,6 +11,10 @@
reads the OPML XML data from stdin and writes the config file text to stdout.
.Sh EXIT STATUS
.Ex -std
+.Sh EXAMPLES
+.Bd -literal
+sfeed_opml_import < opmlfile.xml > ~/.sfeed/sfeedrc
+.Ed
.Sh SEE ALSO
.Xr sfeed_update 1 ,
.Xr sfeedrc 5