slang-users mailing list

[2015 Date Index] [2015 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] Re: An S-Lang script


John E. Davis <jed@xxxxxxxxxxx> wrote:

> I would add
> 
>    if (__argc == 1) usage ();
> 
> at the beginning of slsh_main.
> 
> It seems to me that the general interface is something like:
> 
>   slpo ACTION <args> [-o outfile]
> 
> If this is correct, then I would change the usage message to look like:
> 
>   slpo [options] ACTION <args>
> [...]

Thanks a bunch for taking the time! I have changed it as you
adviced. It certainly seems more robust.

I have uploadet the modified script to http://mbjnet.dk/slpo

 Morten

_______________________________________________
For list information, visit <http://jedsoft.org/slang/mailinglists.html>.


[2015 date index] [2015 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]