It's already a few years back that I've written a completion script for bash. I presented it once on one of the two fgfs mailing lists and didn't advertize it much outside IRC. Now I've improved it and committed it to CVS. It also works for older fgfs versions, and you can get it directly here:
http://cvs.flightgear.org/viewvc/source/scripts/tools/fg-completion.bash?revision=1.1 If you follow the instruction at the head of the file, then you can use <TAB> to complete options and some parameters: $ fgfs --airc<TAB>=bea<TAB> --airp<TAB>lowi --e<TAB>re<TAB> will be completed to $ fgfs --aircracft=beaufighter --airport=lowi --enable-real-weather-fetch Double <TAB> lists all available parameters for some options, such as all available aircraft, or all starting with A etc. Please report any problems. m. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users