I have added support for both syntaxes. Detection of the syntax is performed by checking if arguments start with / or not.
Right now the help will show only the windows-style syntax, but the arguments are exactly the same for the other syntax, aside from the syntax itself. It's on my branch: https://github.com/awakecoding/FreeRDP / becomes - or -- + or - becomes --enable- or --disable- I did not enforce single dash versus double dash, the current parser accepts both regardless of the length of the option. From what I understood, there's not that much of a difference between the two, except that if you enforce single dash versus double dash, you can concatenate single-letter options such as in commands like "tar -zxvf". Here's a sample command with the alternate syntax: xfreerdp -u Administrator@LAB1 -p Password123! -v LAB1-W2K8R2-GW.lab1.awake.local --cert-ignore --disable-wallpaper --enable-fonts Would this type of syntax being supported in addition to the new windows-style syntax satisfy everyone? Give it a try and tell me what you think. Best regards, - Marc-Andre On Sun, Dec 2, 2012 at 1:07 PM, Kevin Dalley <kdal...@vmware.com> wrote: > Alexis makes a good point in the ps. > > If you are used to one type of syntax, it is difficult to follow a new > syntax. > > If every developer created a different type of syntax, it would be > extremely > difficult to use Linux. > > > ----- Original Message ----- > From: Alexis Moinet <alexis.moi...@umons.ac.be> > To: Freerdp-devel <freerdp-devel@lists.sourceforge.net> > Sent: Sun, 02 Dec 2012 03:30:17 -0800 (PST) > Subject: Re: [Freerdp-devel] Why is there a change in the command line > interface? > > > ps: I'm a bit lost too with the new syntax by the way, but it must be > because I've not used Windows command-line in years > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > DESIGN Expert tips on starting your parallel project right. > http://goparallel.sourceforge.net/ > _______________________________________________ > Freerdp-devel mailing list > Freerdp-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freerdp-devel > ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: DESIGN Expert tips on starting your parallel project right. http://goparallel.sourceforge.net/ _______________________________________________ Freerdp-devel mailing list Freerdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel