[openbeos] Re: parsing command line arguments

  • From: "Marcus Overhagen" <ml@xxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sun, 7 Jul 2002 14:33:33 +0200

"shatty" <shatty@xxxxxxxxxxxxx> wrote:

>And there are those that allow flags and then soak up
>the rest of the arguments as a list of filenames or
>other strings.

>mkbfs isn't this complicated at all, but since I've
>seen so many different approaches in the cvs I thought
>it best to raise the issue.  (perhaps multiple solutions are

Did you have a look at the mkdos program yet? It is in CVS.
And I think the thing you are looking for is getopt()

regards
Marcus 

Other related posts: