> if options.ruby:
>    Ruby.define_options(parser)
>    (options, args) = parser.parse_args()

Instead of this, you could simply do the following before any
arguments are parsed:

if '--ruby' in sys.argv:
   Ruby.define_options(parser)

Then you only do one parse_args().
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to