lib/ors/commands/help.rb in ors-0.2.10 vs lib/ors/commands/help.rb in ors-0.3.0

- old
+ new

@@ -1,11 +1,11 @@ -module ORS::Commands +class ORS + module Commands + class Help < Base - class Help < Base - - def execute - puts <<-END + def execute + puts <<-END Usage: ./ors <action> [environment=production] [options] === Actions changes View changes between what is deployed and committed check Prints out contents of restart.timestamp on the app servers @@ -23,13 +23,11 @@ === Environments Must be one of: production demo staging Defaults to production. -=== Options ---pretend (or -p) Don't execute anything, just show me what you're going to do (default: false) ---no-gateway (or -ng) Don't use a gateway (if you're inside the firewall) (default: true) - END - end - +#{help_options} + END + end + end # Help < Base end end