Skip to content

Commit

Permalink
Merge pull request marklogic-community#352 from grtjn/313-validate-co…
Browse files Browse the repository at this point in the history
…mmand

Fixed marklogic-community#313: exposed validate command
  • Loading branch information
paxtonhare committed Jan 20, 2015
2 parents f41e8bf + 42f6048 commit 3048508
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions deploy/lib/Help.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def self.usage
credentials Configures user and password for the given environment
info Returns settings for the given environment
restart Restarts the given environment
validate Compare your ml-config against the given environment
wipe Removes your application from the given environment
Deployment/Data commands (with environment):
Expand Down
2 changes: 2 additions & 0 deletions deploy/lib/server_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,8 @@ def validate_install
result
end

alias_method :validate, :validate_install

def deploy
what = ARGV.shift
raise HelpException.new("deploy", "Missing WHAT") unless what
Expand Down

0 comments on commit 3048508

Please sign in to comment.