rootsh/fix-help-doc.patch
wk333 318a180941 Fix help doc
(cherry picked from commit b44bfb7443f121250f0343dc8883ec52617f2a91)
2022-03-09 18:57:38 +08:00

26 lines
772 B
Diff

From 35be39adfbd81b3256ef7d3dffe274c7ef520dd5 Mon Sep 17 00:00:00 2001
From: wk333 <13474090681@163.com>
Date: Wed, 9 Mar 2022 17:51:25 +0800
Subject: [PATCH 1/1] test
---
src/rootsh.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rootsh.c b/src/rootsh.c
index 9d6ffc7..c24cc1a 100644
--- a/src/rootsh.c
+++ b/src/rootsh.c
@@ -1517,7 +1517,7 @@ void version() {
void usage() {
printf("Usage: %s [OPTION [ARG]] ...\n"
- " -?, --help show this help statement\n"
+ " -h, --help show this help statement\n"
" -i, --login start a (initial) login shell\n"
" -u, --user=username run shell as a different user\n"
" -f, --logfile=file name of your logfile (standalone only)\n"
--
2.27.0