Skip to content

Commit

Permalink
Merge pull request #617 from rgoldberg/616-help
Browse files Browse the repository at this point in the history
Cleanup help.
  • Loading branch information
rgoldberg authored Oct 28, 2024
2 parents 9b33ec9 + 5bfd83f commit bb8d742
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Sources/mas/Commands/List.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ extension MAS {
/// Command which lists all installed apps.
struct List: ParsableCommand {
static let configuration = CommandConfiguration(
abstract: "List apps installed from the Mac App Store for the Apple ID of the current macOS user"
abstract: "List apps installed from the Mac App Store"
)

/// Runs the command.
Expand Down
2 changes: 1 addition & 1 deletion Sources/mas/Commands/Outdated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ extension MAS {
/// ready to be installed from the Mac App Store.
struct Outdated: ParsableCommand {
static let configuration = CommandConfiguration(
abstract: "List pending app updates from the Mac App Store for the Apple ID of the current macOS user"
abstract: "List pending app updates from the Mac App Store"
)

@Flag(help: "Display warnings about apps unknown to the Mac App Store")
Expand Down
2 changes: 1 addition & 1 deletion Sources/mas/Commands/Uninstall.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ extension MAS {
/// Command which uninstalls apps managed by the Mac App Store.
struct Uninstall: ParsableCommand {
static let configuration = CommandConfiguration(
abstract: "Uninstall app installed from the Mac App Store for the Apple ID of the current macOS user"
abstract: "Uninstall app installed from the Mac App Store"
)

/// Flag indicating that removal shouldn't be performed.
Expand Down
2 changes: 1 addition & 1 deletion Sources/mas/Commands/Upgrade.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ extension MAS {
struct Upgrade: ParsableCommand {
static let configuration = CommandConfiguration(
abstract:
"Upgrade outdated app(s) installed from the Mac App Store for the Apple ID of the current macOS user"
"Upgrade outdated app(s) installed from the Mac App Store"
)

@Argument(help: "App ID(s)/app name(s)")
Expand Down
8 changes: 4 additions & 4 deletions contrib/completion/mas.fish
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ complete -c mas -n "__fish_use_subcommand" -f -a install -d "Install previously
complete -c mas -n "__fish_seen_subcommand_from help" -xa "install"
complete -c mas -n "__fish_seen_subcommand_from install lucky" -l force -d "Force reinstall"
### list
complete -c mas -n "__fish_use_subcommand" -f -a list -d "List apps installed from the Mac App Store for the Apple ID of the current macOS user"
complete -c mas -n "__fish_use_subcommand" -f -a list -d "List apps installed from the Mac App Store"
complete -c mas -n "__fish_seen_subcommand_from help" -xa "list"
### lucky
complete -c mas -n "__fish_use_subcommand" -f -a lucky -d "Install the first app returned from searching the Mac App Store (app must have been previously purchased)"
Expand All @@ -49,7 +49,7 @@ complete -c mas -n "__fish_seen_subcommand_from help" -xa "lucky"
complete -c mas -n "__fish_use_subcommand" -f -a open -d "Open app page in 'App Store.app'"
complete -c mas -n "__fish_seen_subcommand_from help" -xa "open"
### outdated
complete -c mas -n "__fish_use_subcommand" -f -a outdated -d "List pending app updates from the Mac App Store for the Apple ID of the current macOS user"
complete -c mas -n "__fish_use_subcommand" -f -a outdated -d "List pending app updates from the Mac App Store"
complete -c mas -n "__fish_seen_subcommand_from help" -xa "outdated"
complete -c mas -n "__fish_seen_subcommand_from outdated" -l verbose -d "Display warnings about apps unknown to the Mac App Store"
### purchase
Expand All @@ -71,12 +71,12 @@ complete -c mas -n "__fish_seen_subcommand_from signin" -l dialog -d "Provide pa
complete -c mas -n "__fish_use_subcommand" -f -a signout -d "Sign out of the Apple ID currently signed in in the Mac App Store"
complete -c mas -n "__fish_seen_subcommand_from help" -xa "signout"
### uninstall
complete -c mas -n "__fish_use_subcommand" -f -a uninstall -d "Uninstall app installed from the Mac App Store for the Apple ID of the current macOS user"
complete -c mas -n "__fish_use_subcommand" -f -a uninstall -d "Uninstall app installed from the Mac App Store"
complete -c mas -n "__fish_seen_subcommand_from help" -xa "uninstall"
complete -c mas -n "__fish_seen_subcommand_from uninstall" -l dry-run -d "Perform dry run"
complete -c mas -n "__fish_seen_subcommand_from uninstall" -x -a "(__fish_mas_list_installed)"
### upgrade
complete -c mas -n "__fish_use_subcommand" -f -a upgrade -d "Upgrade outdated app(s) from the Mac App Store for the Apple ID of the current macOS user"
complete -c mas -n "__fish_use_subcommand" -f -a upgrade -d "Upgrade outdated app(s) from the Mac App Store"
complete -c mas -n "__fish_seen_subcommand_from help" -xa "upgrade"
complete -c mas -n "__fish_seen_subcommand_from upgrade" -x -a "(__fish_mas_outdated_installed)"
### vendor
Expand Down

0 comments on commit bb8d742

Please sign in to comment.