diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2025-11-08 10:56:31 +0000 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2025-11-08 10:56:31 +0000 |
| commit | 538cd626aa4207a28bdea3a08ec9a700a265d5fb (patch) | |
| tree | 29f36c993fd33334ffa303b35da521d3285915df | |
| parent | ce4a62db31e7d01404f4d3f6c56c50ef61486d84 (diff) | |
Set command name to process name
| -rw-r--r-- | Sources/Main.swift | 2 |
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") |
