# Command Line Options

**URL:** <https://www.ruby-forum.com/t/command-line-options/146929>\
**Category:** IronRuby\
**Created:** [August 26, 2008, 10:03pm UTC](https://www.ruby-forum.com/t/command-line-options/146929 "2008-08-26T22:03:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hellosticky](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hellosticky](https://www.ruby-forum.com/u/hellosticky)\
**Post date:** [August 26, 2008, 10:03pm UTC](https://www.ruby-forum.com/t/command-line-options/146929/1 "2008-08-26T22:03:09Z")

</div>

Hi, I’m new to IronRuby. I downloaded “IronRuby Alpha” and I am confused  
about the command line options of ir.exe. If I do:

ir.exe -h

It does not even list the option -AI which is used by ir.cmd. Is there a  
list of all the command line options somewhere? Is there a source code  
file I should look into in IronRuby itself?

Thanks,

---

<div class="post-metadata">

**Author:** ![hellosticky](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hellosticky](https://www.ruby-forum.com/u/hellosticky)\
**Post date:** [August 26, 2008, 10:13pm UTC](https://www.ruby-forum.com/t/command-line-options/146929/2 "2008-08-26T22:13:06Z")

</div>

This option will be removed in the next release.

The file is Ruby\Hosting\RubyOptionsParser.cs

Tomas

---

<div class="post-metadata">

**Author:** ![hellosticky](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hellosticky](https://www.ruby-forum.com/u/hellosticky)\
**Post date:** [August 26, 2008, 10:42pm UTC](https://www.ruby-forum.com/t/command-line-options/146929/3 "2008-08-26T22:42:25Z")

</div>

Thanks. I tried the -save option to create a DLL but it doesn’t seem to  
be working?

---

<div class="post-metadata">

**Author:** ![hellosticky](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hellosticky](https://www.ruby-forum.com/u/hellosticky)\
**Post date:** [August 26, 2008, 11:01pm UTC](https://www.ruby-forum.com/t/command-line-options/146929/4 "2008-08-26T23:01:09Z")

</div>

FYI

cjac@dev0:/usr/src/svn/rubyforge/ironruby$ svn info  
trunk/src/ironruby/Hosting/RubyOptionsParser.cs  
Path: trunk/src/ironruby/Hosting/RubyOptionsParser.cs  
Name: RubyOptionsParser.cs  
URL:  
[http://ironruby.rubyforge.org/svn/trunk/src/ironruby/Hosting/RubyOptionsParser.cs](http://ironruby.rubyforge.org/svn/trunk/src/ironruby/Hosting/RubyOptionsParser.cs)  
Repository Root: [http://ironruby.rubyforge.org/svn](http://ironruby.rubyforge.org/svn)  
Repository UUID: 35c07f8d-9825-4069-8e05-7d567adbdaa8  
Revision: 138  
Node Kind: file  
Schedule: normal  
Last Changed Author: jlam  
Last Changed Rev: 135  
Last Changed Date: 2008-08-19 20:34:58 +0000 (Tue, 19 Aug 2008)  
Text Last Updated: 2008-08-26 20:20:34 +0000 (Tue, 26 Aug 2008)  
Checksum: 39528db3319697c0e5c19deec70393c5

---

<div class="post-metadata">

**Author:** ![hellosticky](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hellosticky](https://www.ruby-forum.com/u/hellosticky)\
**Post date:** [August 27, 2008, 1:05am UTC](https://www.ruby-forum.com/t/command-line-options/146929/5 "2008-08-27T01:05:21Z")

</div>

Right, precompilation is not supported yet. -save is an experimental  
option.

Tomas

---

<div class="post-metadata">

**Author:** ![hellosticky](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hellosticky](https://www.ruby-forum.com/u/hellosticky)\
**Post date:** [August 26, 2008, 11:11pm UTC](https://www.ruby-forum.com/t/command-line-options/146929/6 "2008-08-26T23:11:08Z")

</div>

Yes, the -save option C.J. pointed to does create the DLL, but running  
ildasm on it, there’s nothing in there. I’m guessing this is a feature  
that isn’t supported yet and that I will have to write my own DLL  
creation? If so, any hints on how to do this?
