diff --git a/CHANGELOG b/CHANGELOG index 0a90c785..e0e9823b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Default the application name to "Application" when using --apply-to + * Show the help screen instead of an error when no arguments are given * Make SwitchTower easier to invoke programmatically via SwitchTower::CLI diff --git a/lib/switchtower/cli.rb b/lib/switchtower/cli.rb index ac33ac52..947bfe06 100644 --- a/lib/switchtower/cli.rb +++ b/lib/switchtower/cli.rb @@ -72,7 +72,7 @@ module SwitchTower opts.separator "Framework Integration Options --------" opts.separator "" - opts.on("-A", "--apply-to [DIRECTORY]", + opts.on("-A", "--apply-to DIRECTORY", "Create a minimal set of scripts and recipes to use", "switchtower with the application at the given", "directory. (Currently only works with Rails apps.)" @@ -112,10 +112,9 @@ module SwitchTower opts.separator <