diff mbox series

[2/3] alfred: fix erroneous documentation of '-r' argument

Message ID 20220804185212.3074514-2-mareklindner@neomailbox.ch
State Accepted, archived
Delegated to: Simon Wunderlich
Headers show
Series [1/3] alfred: add missing alfred_event_notify_v0 struct documentation | expand

Commit Message

Marek Lindner Aug. 4, 2022, 6:52 p.m. UTC
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
---
 main.c       | 2 +-
 man/alfred.8 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/main.c b/main.c
index 3fe7b42..2c3f06e 100644
--- a/main.c
+++ b/main.c
@@ -31,7 +31,7 @@  static void alfred_usage(void)
 	printf("  -s, --set-data [data type]          sets new data to distribute from stdin\n");
 	printf("                                      for the supplied data type (0-255)\n");
 	printf("  -r, --request [data type]           collect data from the network and prints\n");
-	printf("                                      it on the network\n");
+	printf("                                      it on stdout\n");
 	printf("  -d, --verbose                       Show extra information in the data output\n");
 	printf("  -V, --req-version                   specify the data version set for -s\n");
 	printf("  -M, --modeswitch primary            switch daemon to mode primary\n");
diff --git a/man/alfred.8 b/man/alfred.8
index ca83f02..20c703b 100644
--- a/man/alfred.8
+++ b/man/alfred.8
@@ -67,7 +67,7 @@  must be periodically written again to alfred, otherwise it will timeout and
 alfred will forget about it (after 10 minutes).
 .TP
 \fB\-r\fP, \fB\-\-request\fP \fIdata\-type\fP
-Collect data from the network and prints it on the network
+Collect data from the network and prints it on stdout
 .TP
 \fB\-d\fP, \fB\-\-verbose\fP
 Show extra information in the data output