Skip to contentSkip to conversation

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

PATCH Applied Alexey Sakovets 2 participants 2 messages Oct 2, 2021 – Oct 5, 2021

lore
Share & tools
lore
#0 lore raw

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

---
 src/openvt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/openvt.c +1 -1
index dd244b5..5980361 100644
@@ -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.") },
Signature · 1 line
2.32.0
#1 lore raw
Quoted 1 line · Alexey Sakovets

Applied. Thanks!

Quoted 25 lines
---
 src/openvt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/openvt.c +1 -1
index dd244b5..5980361 100644
@@ -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.") },
Signature · 6 lines
2.32.0

_______________________________________________
kbd mailing list
[email protected]
https://lists.altlinux.org/mailman/listinfo/kbd
Signature · 1 line
Rgrds, legion