]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
tools: Unify help messages
authorTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 2 Dec 2024 18:35:04 +0000 (19:35 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 4 Dec 2024 17:35:22 +0000 (11:35 -0600)
Unify help messages shown when kmod is called without any arguments
to use the same grammar and capitalisation.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Link: https://github.com/kmod-project/kmod/pull/265
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
tools/kmod.c
tools/static-nodes.c

index 835970b7349efbcafe85fd5a5e15e67d58849b59..434dd049814a197562a5811ad5bb1fabe7444bf5 100644 (file)
@@ -76,7 +76,7 @@ static int kmod_help(int argc, char *argv[])
 static const struct kmod_cmd kmod_cmd_help = {
        .name = "help",
        .cmd = kmod_help,
-       .help = "Show help message",
+       .help = "show help message",
 };
 
 static int handle_kmod_commands(int argc, char *argv[])
index cb8afd37cdd0a65cb02cab33bf7c8163cdbd72b1..4914d0c32a728bf410e0473ad168a43314aef08b 100644 (file)
@@ -274,5 +274,5 @@ finish:
 const struct kmod_cmd kmod_cmd_static_nodes = {
        .name = "static-nodes",
        .cmd = do_static_nodes,
-       .help = "outputs the static-node information installed with the currently running kernel",
+       .help = "output the static-node information installed with the currently running kernel",
 };