mirror of
https://github.com/mas-cli/mas
synced 2024-11-21 19:23:01 +00:00
Improve help output for command arguments.
Partial #533 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
This commit is contained in:
parent
64ab55718a
commit
0b9c84bcb8
3 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue