From c732a492c05526683705637a66e877672eb55dc0 Mon Sep 17 00:00:00 2001 From: tbxark Date: Mon, 20 Jan 2025 13:33:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E8=87=B30.6.7=E5=B9=B6=E6=B7=BB=E5=8A=A0=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E5=88=AB=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/rmtrash/rmtrash.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/rmtrash/rmtrash.swift b/Sources/rmtrash/rmtrash.swift index 63452b1..11cecab 100644 --- a/Sources/rmtrash/rmtrash.swift +++ b/Sources/rmtrash/rmtrash.swift @@ -8,10 +8,11 @@ struct Command: ParsableCommand { commandName: "rmtrash", abstract: "Move files and directories to the trash.", discussion: "rmtrash is a small utility that will move the file to macOS's Trash rather than obliterating the file (as rm does).", - version: "0.6.6", + version: "0.6.7", shouldDisplay: true, subcommands: [], - helpNames: .long + helpNames: .long, + aliases: ["trash", "del", "rm"] ) @Flag(name: .shortAndLong, help: "Ignore nonexistant files, and never prompt before removing.") @@ -400,7 +401,6 @@ extension Trash { } else { // can not remove directory when not recursive and not emptyDirs throw canNotRemovePanic(path: path, err: "Is a directory") - } } }