Also move --binarydir to compat/*.
				
					
				
			This commit is contained in:
		
							parent
							
								
									0bb2773b17
								
							
						
					
					
						commit
						68a513083e
					
				@ -62,10 +62,6 @@ module Hbc
 | 
			
		||||
    option "--vst_plugindir=PATH",        ->(value) { Hbc.vst_plugindir        = value }
 | 
			
		||||
    option "--vst3_plugindir=PATH",       ->(value) { Hbc.vst3_plugindir       = value }
 | 
			
		||||
    option "--screen_saverdir=PATH",      ->(value) { Hbc.screen_saverdir      = value }
 | 
			
		||||
    option "--binarydir=PATH",            ->(*) { opoo(<<-EOS.undent) }
 | 
			
		||||
      Option --binarydir is obsolete!
 | 
			
		||||
      Homebrew-Cask now uses the same location as your Homebrew installation for executable links.
 | 
			
		||||
    EOS
 | 
			
		||||
 | 
			
		||||
    option "--help", :help, false
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -4,6 +4,13 @@ module Hbc
 | 
			
		||||
  class CLI
 | 
			
		||||
    include Options
 | 
			
		||||
 | 
			
		||||
    option "--binarydir=PATH", (lambda do |*|
 | 
			
		||||
      opoo <<-EOS.undent
 | 
			
		||||
        Option --binarydir is obsolete!
 | 
			
		||||
        Homebrew-Cask now uses the same location as your Homebrew installation for executable links.
 | 
			
		||||
      EOS
 | 
			
		||||
    end)
 | 
			
		||||
 | 
			
		||||
    option "--caskroom=PATH", (lambda do |value|
 | 
			
		||||
      Hbc.caskroom = value
 | 
			
		||||
      odeprecated "`brew cask` with the `--caskroom` flag", disable_on: Time.utc(2017, 10, 31)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user