Improve help output for command arguments.

Partial #533

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
This commit is contained in:
Ross Goldberg 2024-10-29 03:59:14 -04:00
parent 64ab55718a
commit 0b9c84bcb8
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ extension MAS {
@Flag(help: "Force reinstall")
var force = false
@Argument(help: "App ID(s)")
@Argument(help: ArgumentHelp("App ID", valueName: "app-id"))
var appIDs: [AppID]
/// Runs the command.

View file

@ -15,7 +15,7 @@ extension MAS {
abstract: "\"Purchase\" and install free apps from the Mac App Store"
)
@Argument(help: "App ID(s)")
@Argument(help: ArgumentHelp("App ID", valueName: "app-id"))
var appIDs: [AppID]
/// Runs the command.

View file

@ -18,7 +18,7 @@ extension MAS {
"Upgrade outdated app(s) installed from the Mac App Store"
)
@Argument(help: "App ID(s)/app name(s)")
@Argument(help: ArgumentHelp("App ID/app name", valueName: "app-id-or-name"))
var appIDOrNames: [String] = []
/// Runs the command.