- Subject: [slang-users] Re: An S-Lang script
 
- From: Morten Bo Johansen <mbj@xxxxxxxxxxx>
 
- Date: Mon, 24 Aug 2015 14:11:44 +0200
 
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]