If, in the command line processing function that that fork puts in, we extend it to capture any "words": space delimited, allowing for '"'-quoted arguments WITH spaces as necessary, possibly AFTER a "--" (I'll need to check on the symatics for that "end of option arguments delimiter"); and treat/test those "words" as profile names. The fake-autologin bit is my thinking that if I can find a way for Mudlet to behaive as if the matching profile name had the auto-login option set for that instance of the Mudlet application then it would achieve the desired results.
I wasn't sure of the exact URI for github branches, that was more a sort of guess at it; Host: gitghub; Username: Slysven; Repository: Mudlet2 (fork of Chris7!); Branch: mudletDev_versionData. Note that this commit is a rework of my previous patch/suggestion tailored to fit the actual code of the Chris7 mudletDev GH branch. I hope I've taken on board some of the things you've said about that patch (I found a way to make the copyright and version text blend into the background image better on the splash-screen and still leave Thorsten's artwork "artfully" displayed with a bit of text "frobnication", and a --quiet option to turn it all off if the user doesn't want it... 8-) ) Finally, on GH I've drawn together a working merge of my other working branches (I had to do it as a series of sequential merges in pull request order to Chris's mudletDev branches as I couldn't work out how to "octomerge"[?] ) in my mudletDev_proposedUpdates branch. On 07/04/14 03:34, Vadim Peretokin wrote: > Hm the link is a 404, what do you also mean by fake auto-logins? > > > On Mon, Apr 7, 2014 at 12:17 PM, Stephen Lyons > <[email protected]>wrote: > >> As part of putting together something to centralise Mudlet version >> information I needed to add a basic command line argument handler >> (to provide FSF's recommended --help and --version handling) that >> is awaiting peer review at GH's Chris7/Mudlet2/mudletDev (see my >> www.github.com/Slysven/Mudlet2/mudletDev_versionData). I think we >> might be able to do this by finding a way to pass profile names on >> the command line off as (fake) auto-logins... >> >> -- You received this bug notification because you are subscribed >> to the bug report. https://bugs.launchpad.net/bugs/760093 >> >> Title: Allow profiles to be opened via argument option >> >> To manage notifications about this bug go to: >> https://bugs.launchpad.net/mudlet/+bug/760093/+subscriptions >> > -- You received this bug notification because you are a member of Mudlet Makers, which is subscribed to Mudlet. https://bugs.launchpad.net/bugs/760093 Title: Allow profiles to be opened via argument option Status in Mudlet the MUD client: New Bug description: It should be possible to open Mudlet and connect to a profile right away on-demand, ie mudlet -o Achaea or mudlet --open-profile="My odd profile" To manage notifications about this bug go to: https://bugs.launchpad.net/mudlet/+bug/760093/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mudlet-makers Post to : [email protected] Unsubscribe : https://launchpad.net/~mudlet-makers More help : https://help.launchpad.net/ListHelp

