aboutsummaryrefslogtreecommitdiff
path: root/Sources
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2025-11-08 10:56:31 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2025-11-08 10:56:31 +0000
commit538cd626aa4207a28bdea3a08ec9a700a265d5fb (patch)
tree29f36c993fd33334ffa303b35da521d3285915df /Sources
parentce4a62db31e7d01404f4d3f6c56c50ef61486d84 (diff)
Set command name to process name
Diffstat (limited to 'Sources')
-rw-r--r--Sources/Main.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/Sources/Main.swift b/Sources/Main.swift
index 9ffff7e..de357cf 100644
--- a/Sources/Main.swift
+++ b/Sources/Main.swift
@@ -6,6 +6,8 @@ import SystemPackage
@main
struct EntryPoint: AsyncParsableCommand {
+ static let configuration = CommandConfiguration(commandName: ProcessInfo.processInfo.processName)
+
@Option(help: "Directory to search for ongoing downloads.", transform: { FilePath($0) })
var directory = FilePath("\(NSHomeDirectory())/Downloads")