From 0c74d93939e67e6929a6e581506cf33892f252c6 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sun, 27 Sep 2020 23:02:19 +0200 Subject: [PATCH] Fix man page difference on Linux. --- Library/Homebrew/cask/cmd/abstract_command.rb | 4 +--- docs/Manpage.md | 2 +- manpages/brew.1 | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/cask/cmd/abstract_command.rb b/Library/Homebrew/cask/cmd/abstract_command.rb index 5314cd931f..2408effac1 100644 --- a/Library/Homebrew/cask/cmd/abstract_command.rb +++ b/Library/Homebrew/cask/cmd/abstract_command.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true -require "cask/config" require "search" module Cask @@ -35,8 +34,7 @@ module Cask OPTIONS = [ [:switch, "--[no-]binaries", { - description: "Disable/enable linking of helper executables to `#{Config.global.binarydir}`. " \ - "Default: enabled", + description: "Disable/enable linking of helper executables. Default: enabled", env: :cask_opts_binaries, }], [:switch, "--require-sha", { diff --git a/docs/Manpage.md b/docs/Manpage.md index 153c06c49e..e4d4b2c4dd 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -382,7 +382,7 @@ installed formulae or, every 30 days, for all formulae. * `--language`: Set language of the Cask to install. The first matching language is used, otherwise the default language on the Cask. The default value is the `language of your system` * `--[no-]binaries`: - Disable/enable linking of helper executables to `/usr/local/bin`. Default: enabled + Disable/enable linking of helper executables. Default: enabled * `--require-sha`: Require all casks to have a checksum. * `--[no-]quarantine`: diff --git a/manpages/brew.1 b/manpages/brew.1 index d043615c77..f5ce653ab3 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -593,7 +593,7 @@ Set language of the Cask to install\. The first matching language is used, other . .TP \fB\-\-[no\-]binaries\fR -Disable/enable linking of helper executables to \fB/usr/local/bin\fR\. Default: enabled +Disable/enable linking of helper executables\. Default: enabled . .TP \fB\-\-require\-sha\fR