lib/nando/interface.rb in nando-1.0.6 vs lib/nando/interface.rb in nando-1.1.0
- old
+ new
@@ -29,9 +29,10 @@
# flags
flags = [
['-t/--type', 'Used to specify the migration type'],
['-f/--function', 'Used to specify which function files to add to a migration'],
+ ['-d/--dry-run', 'Used to prevent the tool from applying migrations and only provide info'],
['-h/--help', 'Shows the help message']
]
largest_flag = flags.max { |a,b| a[0].length <=> b[0].length }
required_indent = largest_flag[0].length
\ No newline at end of file