From 5bfd83f3c499b31ea03654e4de232199c04e44a6 Mon Sep 17 00:00:00 2001 From: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> Date: Mon, 28 Oct 2024 01:00:48 -0400 Subject: [PATCH] Cleanup help. Resolve #616 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> --- Sources/mas/Commands/List.swift | 2 +- Sources/mas/Commands/Outdated.swift | 2 +- Sources/mas/Commands/Uninstall.swift | 2 +- Sources/mas/Commands/Upgrade.swift | 2 +- contrib/completion/mas.fish | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Sources/mas/Commands/List.swift b/Sources/mas/Commands/List.swift index 6817fe52b..6cd665213 100644 --- a/Sources/mas/Commands/List.swift +++ b/Sources/mas/Commands/List.swift @@ -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. diff --git a/Sources/mas/Commands/Outdated.swift b/Sources/mas/Commands/Outdated.swift index 81b447a9b..ecabb7ef4 100644 --- a/Sources/mas/Commands/Outdated.swift +++ b/Sources/mas/Commands/Outdated.swift @@ -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") diff --git a/Sources/mas/Commands/Uninstall.swift b/Sources/mas/Commands/Uninstall.swift index 343d9df60..0cada84e7 100644 --- a/Sources/mas/Commands/Uninstall.swift +++ b/Sources/mas/Commands/Uninstall.swift @@ -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. diff --git a/Sources/mas/Commands/Upgrade.swift b/Sources/mas/Commands/Upgrade.swift index 25743f091..2770f39b9 100644 --- a/Sources/mas/Commands/Upgrade.swift +++ b/Sources/mas/Commands/Upgrade.swift @@ -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)") diff --git a/contrib/completion/mas.fish b/contrib/completion/mas.fish index eccb7494b..05101e571 100644 --- a/contrib/completion/mas.fish +++ b/contrib/completion/mas.fish @@ -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)" @@ -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 @@ -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