代码拉取完成,页面将自动刷新
From 09116bb68bb76c9f6432511f5a0f054a2e3b92e0 Mon Sep 17 00:00:00 2001
From: caodongxia <315816521@qq.com>
Date: Tue, 12 Oct 2021 19:47:01 +0800
Subject: [PATCH] add -h option to scl-command
---
src/scl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/scl.c b/src/scl.c
index df8111a..1c7854a 100644
--- a/src/scl.c
+++ b/src/scl.c
@@ -25,7 +25,7 @@ static void print_usage( const char *name ) {
fprintf(stderr, " %s load|unload [<collection>...]\n", basename(name));
fprintf(stderr, " %s list-collections\n", basename(name));
fprintf(stderr, " %s list-packages|man|register|deregister <collection>\n", basename(name));
- fprintf(stderr, " %s --help\n\n", basename(name));
+ fprintf(stderr, " %s -h|--help\n\n", basename(name));
fprintf(stderr,
"description:\n"
@@ -36,7 +36,7 @@ static void print_usage( const char *name ) {
" list-packages list packages in Software Collection\n"
" man show manual page about Software Collection\n"
" register|deregister register/deregister Software Collection\n"
- " --help show this help\n"
+ " -h|--help show this help\n"
"\nUse '-' as <command> to read the command from standard input.\n");
}
--
2.27.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。