```ruby
require 'spec_helper'


describe 'bundle executable' do
  it 'returns non-zero exit status when passed unrecognized options' do
    bundle '--invalid_argument', :exitstatus => true
    expect(exitstatus).to_not be_zero
  end
end
```

Add spec for exitstatus for unrecognized tasks
user
```ruby
require 'spec_helper'


describe 'bundle executable' do
  it 'returns non-zero exit status when passed unrecognized options' do
    bundle '--invalid_argument', :exitstatus => true
    expect(exitstatus).to_not be_zero
  end

  it 'returns non-zero exit status when passed unrecognized task' do
    bundle 'unrecognized-tast', :exitstatus => true
    expect(exitstatus).to_not be_zero
  end
end
```
assistant