diff mbox

[3/4] nfct: helper: correct error messages.

Message ID 1460096324-17426-4-git-send-email-mart.frauenlob@chello.at
State Accepted
Delegated to: Pablo Neira
Headers show

Commit Message

Mart Frauenlob April 8, 2016, 6:18 a.m. UTC
Signed-off-by: Mart Frauenlob <mart.frauenlob@chello.at>
---
 src/nfct-extensions/helper.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/src/nfct-extensions/helper.c b/src/nfct-extensions/helper.c
index dfc55e7..0569827 100644
--- a/src/nfct-extensions/helper.c
+++ b/src/nfct-extensions/helper.c
@@ -33,7 +33,7 @@  static void
 nfct_cmd_helper_usage(char *argv[])
 {
 	fprintf(stderr, "nfct v%s: Missing command\n"
-			"%s helper list|add|delete|get|flush "
+			"%s helper list|add|delete|disable|get|flush "
 			"[parameters...]\n", VERSION, argv[0]);
 }
 
@@ -408,7 +408,7 @@  nfct_cmd_helper_disable(struct mnl_socket *nl, int argc, char *argv[])
 
 	if (argc < 6) {
 		nfct_perror("missing parameters\n"
-			    "syntax: nfct add helper name family protocol");
+			    "syntax: nfct disable helper name family protocol");
 		return -1;
 	}