From 6745320c00d59993d7df8dd662f9461261b56087 Mon Sep 17 00:00:00 2001 From: zetaloop Date: Tue, 24 Dec 2024 07:08:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=BD=E4=BB=A4=E8=A1=8C=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/cli/main.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/src/cli/main.ts b/app/src/cli/main.ts index 48ecd76622..a1d2fc67c9 100644 --- a/app/src/cli/main.ts +++ b/app/src/cli/main.ts @@ -28,12 +28,11 @@ const args = parse(process.argv.slice(2), { const usage = (exitCode = 1): never => { process.stderr.write( - 'GitHub Desktop CLI usage: \n' + - ' github Open the current directory\n' + - ' github open [path] Open the provided path\n' + - ' github clone [-b branch] Clone the repository by url or name/owner\n' + - ' (ex torvalds/linux), optionally checking out\n' + - ' the branch\n' + 'GitHub Desktop CLI 用法说明: \n' + + ' github 打开当前目录\n' + + ' github open [path] 打开一个目录\n' + + ' github clone [-b branch] 克隆此 URL 或 name/owner (例如 torvalds/linux)\n' + + ' 所对应的的仓库,也可选择检出特定分支。\n' ) process.exit(exitCode) }