b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] alfred: remove unnecessary backslash
@ 2022-09-14 18:40 Marek Lindner
  2022-09-14 18:40 ` [PATCH 2/2] alfred: improve grammar in documentation of '-r' argument Marek Lindner
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Lindner @ 2022-09-14 18:40 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Marek Lindner

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
---
 alfred.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alfred.h b/alfred.h
index 97f0093..a4a3d37 100644
--- a/alfred.h
+++ b/alfred.h
@@ -210,7 +210,7 @@ int unix_sock_close(struct globals *globals);
 int unix_sock_req_data_finish(struct globals *globals,
 			      struct transaction_head *head);
 void unix_sock_events_close_all(struct globals *globals);
-void unix_sock_event_notify(struct globals *globals, uint8_t type,\
+void unix_sock_event_notify(struct globals *globals, uint8_t type,
 			    const uint8_t source[ETH_ALEN]);
 /* vis.c */
 int vis_update_data(struct globals *globals);
-- 
2.37.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 2/2] alfred: improve grammar in documentation of '-r' argument
  2022-09-14 18:40 [PATCH 1/2] alfred: remove unnecessary backslash Marek Lindner
@ 2022-09-14 18:40 ` Marek Lindner
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2022-09-14 18:40 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Marek Lindner

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
---
 main.c       | 3 +--
 man/alfred.8 | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/main.c b/main.c
index 2c3f06e..0f242e8 100644
--- a/main.c
+++ b/main.c
@@ -30,8 +30,7 @@ static void alfred_usage(void)
 	printf("client mode options:\n");
 	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 stdout\n");
+	printf("  -r, --request [data type]           collect data from the network and print 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 20c703b..e6e4a8d 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 stdout
+Collect data from the network and print on stdout
 .TP
 \fB\-d\fP, \fB\-\-verbose\fP
 Show extra information in the data output
-- 
2.37.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-14 18:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-14 18:40 [PATCH 1/2] alfred: remove unnecessary backslash Marek Lindner
2022-09-14 18:40 ` [PATCH 2/2] alfred: improve grammar in documentation of '-r' argument Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).