Re[4]: mmc patch

"Cyb.org" <cyb.org-/U2jX/5RlBxWk0Htik3J/[email protected]> Tue, 28 Jan 2003 19:21:41 +0100
Newsgroups gmane.comp.lang.moto.devel
Message-ID <[email protected]>
Hello Cory,
Tuesday, January 28, 2003, 4:31:04 PM, you wrote:
> On Tue, Jan 28, 2003 at 10:30:09AM -0500, David Hakim wrote:
>> 3) I lied :) This is in fact a multi-part question:
>>       3a) If both -i and -I <path> is specified what should happen ?
>>       3b) If only -I <path> is specified what should happen ?
> The script should exit immediately with a "usage:" message.  People need to
> know when they are doing something wrong so that they do not continue to do
> it in the future.

I thought about this:

1. mmc -n borg -i file.moto
compile module borg and install into libexec dir and asks if existing
module should be replaced 

2. mmc -n borg -I /home/borg/modules/ file.moto
compile module borg and install into /home/borg/modules/ and asks if
existing module should be replaced 

3. mmc -n borg -i -I /home/borg/modules/ file.moto
compile module borg and install into libexec dir AND
/home/borg/modules/ and asks if existing module should be replaced

4. mmc -n borg
Usage: [Yojimbo ;) ]

5. mmc -n borg -d
compile module borg and leave it in /tmp/<mod name>

6. mmc -n borg -f -i -I /home/borg/modules/ file.moto
compile module borg and install into libexec dir AND
/home/borg/modules/ AND overwrites modules with the same name in both
directories

This is how I see this now. :)

Cyb.org