AirPort v.423.1 (423.1.0)
Supported arguments:
-a --autojoin Join first available trusted network from list
-p --applyprefs Apply settings as currently configured via System Preferences
-u --updateprefs Examine network preferences and repair if necessary
-z --disassociate Disassociate from any network
-i<arg> --ibss=<arg> Create IBSS
-f<arg> --file=<arg> use <arg> as airport preference file instead of
/Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist
-m<arg> --mac=<arg> use <arg> instead of current AirPort MAC Address
-x --xml Print info as XML
-h --help Show this help
-o<arg> --oldencrypt=<arg> Encrypt string <arg> with Panther-style encryption
-s<arg> --scan=<arg> Perform a wireless broadcast scan
will perform a directed scan if the optional <arg> is provided
-r<arg> --repeats=<arg> Repeat the command the specified number of times
-A<arg> --associate=<arg> Associate to network
will prompt for network name if arg is not specified
and if necessary, for a password if the network is using WEP or WPA
and the --password argument is not used
-I --getinfo Print current wireless status, e.g. signal info, BSSID, port type etc.
-P<arg> --psk=<arg> Create PSK from specified pass phrase and SSID
-S --showstack Print the current list of known networks
--bssid=<arg> Specify BSSID to associate with
--channel=<arg> Set arbitrary channel on the card
--password=<arg> Specify a WEP key or WPA password when associating to a network
--property=<arg> Set a property in the driver's IORegistry
--ssid=<arg> Specify SSID when creating a PSK, or associating to a network