That's lowest tech and least burdensome on anyone.  I like.


On Wed, Jul 6, 2011 at 10:56 AM, nathan binkert <[email protected]> wrote:

> > 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
>
>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to