[Swift-user] Is there a way to have an optional command line argument to a swift script?
hategan at mcs.anl.gov
Thu Apr 9 13:49:22 CDT 2009
On Thu, 2009-04-09 at 13:40 -0500, Glen Hocky wrote:
> I have a new command line argument for my script and I want to check if
> it's there or not.
> doing @arg("foo") just gives
> Missing command line argument: foo
What's the command line you use to start the script?
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
More information about the Swift-user