[ENH] Command-line argument access in the image

Brian Rice water at tunes.org
Tue Dec 27 20:12:26 PST 2005


On Dec 27, 2005, at 6:50 PM, Brian Rice wrote:

> Also, boot.c currently processes its arguments in a simplistic way,  
> so that extra arguments that you want to pass to the image must be  
> followed by the image name. E.g.
>
> "slate --load src/lib/memoryarea.slate slate.image"
>
> Is generally needed; you cannot skip the image name yet. I may  
> write some code that does guess-work in trying to figure out if the  
> last argument is a valid image name, and then have it try the  
> default if that doesn't work.

Another option is to require --image <filename> to specify an image  
file. This is more verbose, but it does keep everything unambiguous.

Does anyone have a problem or preference among these options?

--
-Brian
http://tunes.org/~water/brice.vcf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/slate/attachments/20051227/484cf7f4/PGP.pgp


More information about the Slate mailing list