From 049796dabcaf14c4636c44ba7df520f72d714c0d Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Thu, 13 Aug 2026 11:50:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20group=20target=20`ls`=20?= =?UTF-8?q?=E6=97=B6=E7=9A=84=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/chsrc-main.c | 15 ++++++++++----- src/recipe/lang/Python/uv/uv-python-build.c | 4 ++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/chsrc-main.c b/src/chsrc-main.c index ef916307..bad08845 100644 --- a/src/chsrc-main.c +++ b/src/chsrc-main.c @@ -698,12 +698,17 @@ get_target (const char *input, TargetOp code, char *option) { int sub_count = xy_seq_len (target->sub_targets); - char *zh_msg = xy_strcat (4, input, " 由以下", xy_int2str(sub_count), - "个子目标组成,可使用 chsrc ls 分别查看\n"); - char *en_msg = xy_strcat (4, input, " consists of the following ", xy_int2str(sub_count), - " sub targets, you can use `chsrc ls ` to view each\n"); + char *zh_msg = xy_strcat (3, + bdyellow(xy_strcat (4, input, " 由以下", xy_int2str(sub_count), "个子目标组成,可使用 chsrc ls <")), + bdpurple("sub-target"), + bdyellow("> 分别查看\n")); - chsrc_log (bdyellow(CHINESE ? zh_msg : en_msg)); + char *en_msg = xy_strcat (3, + bdyellow(xy_strcat (4, input, " consists of the following ", xy_int2str(sub_count), " sub targets, you can use `chsrc ls <")), + bdpurple("sub-target"), + bdyellow("> to view each\n")); + + chsrc_log (CHINESE ? zh_msg : en_msg); for (size_t i=0; i