From f2ee7a12c3d5f082b2e0d649c54c8ff36d66f3bd Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Thu, 20 Aug 2020 21:44:19 +0100 Subject: [PATCH] docs(readme): Update usage help info --- README.md | 1 + build-emacs-for-macos | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 58daec9..ec09684 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ available here: https://github.com/emacs-mirror/emacs Options: -j, --parallel COUNT Compile using COUNT parallel processes (detected: 8) + --git-sha SHA Override detected git SHA of specified branch allowing builds of old commits --[no-]xwidgets Enable/disable XWidgets (default: enabled) --[no-]native-comp Enable/disable native-comp (default: enabled if supported) --[no-]native-fast-boot Enable/disable NATIVE_FAST_BOOT (default: enabled if native-comp supported) diff --git a/build-emacs-for-macos b/build-emacs-for-macos index 8191f0e..3297403 100755 --- a/build-emacs-for-macos +++ b/build-emacs-for-macos @@ -543,17 +543,17 @@ if __FILE__ == $PROGRAM_NAME Options: DOC - opts.on('--git-sha=SHA', 'Override detected git SHA of specified branch ' \ - 'allowing builds of old commits') do |v| - cli_options[:git_sha] = v - end - opts.on('-j', '--parallel COUNT', 'Compile using COUNT parallel processes ' \ "(detected: #{cli_options[:parallel]})") do |v| cli_options[:parallel] = v end + opts.on('--git-sha SHA', 'Override detected git SHA of specified branch ' \ + 'allowing builds of old commits') do |v| + cli_options[:git_sha] = v + end + opts.on('--[no-]xwidgets', 'Enable/disable XWidgets ' \ '(default: enabled)') do |v|