Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!ncar!gatech!bloom-beacon!bloom-picayune.mit.edu!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Newsgroups: comp.unix.questions Subject: Re: Flags with more than one letter Message-ID: <1991Apr11.214754.26608@athena.mit.edu> Date: 11 Apr 91 21:47:54 GMT References: <1991Apr10.132106.4122@fmrco> Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology Lines: 34 In article <1991Apr10.132106.4122@fmrco>, harold@fmrco (Harold Naparst) writes: |> How do you pass flags to main() with more than one letter? |> I am using getopt, and it only allows flags with one letter. |> Is there another option parsing program I should know |> about ? There is no other option parsing package in the standard Unix distribution. There is, however, the "parseargs" package which was posted recently to comp.sources.misc. If you don't know how to check comp.sources.misc and the other Usenet source archives to find things like this, or you don't know how to get sources from the archives, you can find out by reading the article which you can retrieve using the instructions at the end of this message. -- Jonathan Kamens USnail: MIT Project Athena 11 Ashford Terrace jik@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8085 Home: 617-782-0710 -- Subject: (DRAFT) Information about finding sources (READ THIS BEFORE POSTING) Newsgroups: comp.sources.wanted,alt.sources.wanted Available via anonymous ftp from pit-manager.mit.edu (18.72.1.58) in the file /pub/usenet/comp.sources.wanted/(DRAFT)_Information_about_finding_sources_(READ_THIS_BEFORE_POSTING) Available from mail-server@pit-manager.mit.edu by sending a message containing send usenet/comp.sources.wanted/(DRAFT)_Information_about_finding_sources_(READ_THIS_BEFORE_POSTING) Send a message containing "help" to get general information about the mail server.