diff options
| author | Mike McQuaid | 2018-01-20 12:04:09 +0000 | 
|---|---|---|
| committer | Mike McQuaid | 2018-01-21 13:38:44 +0000 | 
| commit | b96ec879dc405254718c7efd7ad0f966b0b80be9 (patch) | |
| tree | f024d3a57dfd06893b309dbe5083452c6c7c119c /Library/Homebrew/cmd/linkapps.rb | |
| parent | d14fd49b3062ab1d95e86b78a8228c8aee3a3304 (diff) | |
| download | brew-b96ec879dc405254718c7efd7ad0f966b0b80be9.tar.bz2 | |
(un)linkapps: hide from manpage, use odeprecated.
Diffstat (limited to 'Library/Homebrew/cmd/linkapps.rb')
| -rw-r--r-- | Library/Homebrew/cmd/linkapps.rb | 15 | 
1 files changed, 2 insertions, 13 deletions
| diff --git a/Library/Homebrew/cmd/linkapps.rb b/Library/Homebrew/cmd/linkapps.rb index e8d482529..1bec67a04 100644 --- a/Library/Homebrew/cmd/linkapps.rb +++ b/Library/Homebrew/cmd/linkapps.rb @@ -1,3 +1,4 @@ +#: @hide_from_man_page  #:  * `linkapps` [`--local`] [<formulae>]:  #:    Find installed formulae that provide `.app`-style macOS apps and symlink them  #:    into `/Applications`, allowing for easier access (deprecated). @@ -6,11 +7,6 @@  #:    either aliases or symlinks and Homebrew formulae do not build "proper" `.app`  #:    bundles that can be relocated. Instead, please consider using `brew cask` and  #:    migrate formulae using `.app`s to casks. -#: -#:    If no <formulae> are provided, all of them will have their apps symlinked. -#: -#:    If provided, `--local` will symlink them into the user's `~/Applications` -#:    directory instead of the system directory.  require "keg"  require "formula" @@ -19,14 +15,7 @@ module Homebrew    module_function    def linkapps -    opoo <<~EOS -      `brew linkapps` has been deprecated and will eventually be removed! - -      Unfortunately `brew linkapps` cannot behave nicely with e.g. Spotlight using -      either aliases or symlinks and Homebrew formulae do not build "proper" `.app` -      bundles that can be relocated. Instead, please consider using `brew cask` and -      migrate formulae using `.app`s to casks. -    EOS +    odeprecated "'brew linkapps'"      target_dir = linkapps_target(local: ARGV.include?("--local")) | 
