bin/edge in edge_framework-0.1.0 vs bin/edge in edge_framework-0.2.0
- old
+ new
@@ -7,9 +7,13 @@
name = ARGV[2]
if command == nil || command == 'help' || command == '-h'
Edge.help()
elsif command == 'create'
- Edge.create( type, name )
+ if ARGV.length >= 4
+ Edge.command_too_long()
+ else
+ Edge.create( type, name )
+ end
else
Edge.not_found( command )
end
\ No newline at end of file