Skip to content

Commit

Permalink
remove --show-deprecations from man page
Browse files Browse the repository at this point in the history
  • Loading branch information
e2 committed Nov 26, 2014
1 parent e7334cf commit cbd44e4
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 9 deletions.
33 changes: 33 additions & 0 deletions config/Guardfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
group :specs, halt_on_fail: true do
guard :rspec, cmd: "bundle exec rspec", failed_mode: :keep do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^(lib/.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch("lib/guard/notifier.rb") { "spec/guard/notifiers" }
watch("lib/guard/interactor.rb") { "spec/guard/commands" }
watch(%r{^lib/guard/(guard|plugin).rb$}) { "spec/guard/plugin" }
watch("spec/spec_helper.rb") { "spec" }
end

guard :rubocop, all_on_start: false, cli: "--rails" do
watch(%r{.+\.rb$}) { |m| m[0] }
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
end

guard "cucumber", keep_failed: true, all_on_start: false do
watch(%r{^features/.+\.feature$})
watch(%r{^features/support/.+$}) { "features" }
watch(%r{^features/step_definitions/(.+)_steps\.rb$}) do |m|
Dir[File.join("**/#{m[1]}.feature")][0] || "features"
end
end
end

if !defined?(JRUBY_VERSION)
if ENV["CI"] != "true"
group :docs do
guard :ronn do
watch(%r{^man/.+\.ronn?$})
end
end
end
end
3 changes: 0 additions & 3 deletions man/guard.1
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ The following options are available:
\fB\-B\fR, \fB\-\-no\-bundler\-warning\fR Turn off warning when Bundler is not present\.
.
.P
\fB\-\-show\-deprecations\fR Turn on deprecation warnings\.
.
.P
\fB\-l\fR, \fB\-\-latency\fR Overwrite Listen\'s default latency\.
.
.P
Expand Down
3 changes: 0 additions & 3 deletions man/guard.1.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions man/guard.1.ronn
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ The following options are available:
`-B`, `--no-bundler-warning`
Turn off warning when Bundler is not present.

`--show-deprecations`
Turn on deprecation warnings.

`-l`, `--latency`
Overwrite Listen's default latency.

Expand Down

0 comments on commit cbd44e4

Please sign in to comment.