Skip to content

Commit

Permalink
Merge pull request #26 from azihsoyn/fix-nowait-option
Browse files Browse the repository at this point in the history
Fix nowait option
  • Loading branch information
markan committed Apr 16, 2015
2 parents dcd53f1 + 15c9312 commit d93c61d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The maximum amount of time (in seconds) by which a job must complete, before it
The minimum number of nodes that match the search criteria, are available, and acknowledge the job request. This can be expressed as a
percentage (e.g. 50%) or as an absolute number of nodes (e.g. 145). Default value: 100%

-b --no-wait
-b --nowait

Exit immediately after starting a job instead of waiting for it to complete.

Expand Down
2 changes: 1 addition & 1 deletion lib/chef/knife/job_start.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class JobStart < Chef::Knife
:description => 'Solr query for list of job candidates.'

option :nowait,
:long => '--no-wait',
:long => '--nowait',
:short => '-b',
:boolean => true,
:default => false,
Expand Down

0 comments on commit d93c61d

Please sign in to comment.