[kbd] [PATCH] Help command should print '-c' (lowercase) instead of '-C' (uppercase) for "the console device to be used" option.

Alexey Sakovets alexeysakovets at gmail.com
Sat Oct 2 14:23:47 MSK 2021


Signed-off-by: Alexey Sakovets <alexeysakovets at gmail.com>
---
 src/openvt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/openvt.c b/src/openvt.c
index dd244b5..5980361 100644
--- a/src/openvt.c
+++ b/src/openvt.c
@@ -280,7 +280,7 @@ int main(int argc, char *argv[])
 	};
 
 	const struct kbd_help opthelp[] = {
-		{ "-C, --console=DEV", _("the console device to be used.") },
+		{ "-c, --console=DEV", _("the console device to be used.") },
 		{ "-e, --exec",        _("execute the command, without forking.") },
 		{ "-f, --force",       _("force opening a VT without checking.") },
 		{ "-l, --login",       _("make the command a login shell.") },
-- 
2.32.0



More information about the kbd mailing list