|
From: SourceForge.net <no...@so...> - 2004-01-16 15:42:24
|
Feature Requests item #877263, was opened at 2004-01-14 19:14 Message generated for change (Comment added) made by jsquyres You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=465047&aid=877263&group_id=51915 Category: Interface Improvements (example) Group: None Status: Open Priority: 5 Submitted By: Jeremy Enos (jenos) Assigned to: Nobody/Anonymous (nobody) Summary: options require fixed order? Initial Comment: If I want to use the --system or --user options... they're required to be at the *end* of the command line. I don't see why this is necessary in the first place, but it's also not made clear on the syntax page. ---------------------------------------------------------------------- >Comment By: Jeff Squyres (jsquyres) Date: 2004-01-16 10:42 Message: Logged In: YES user_id=11722 After looking at the code again, I'm unfortunately reminded of the ugliness that requires this. It's not even worth describing. This is, of course, fixable, but it would probably mean ditching using the perl AppConfig module that I'm using for command line parsing (due to limitations of AppConfig), and then overhauling how I do command line parsing in switcher. This isn't hard, but it would probably take 1-3 hours to re-write and make it "just so". I just don't have time for that at the moment. :-( So, instead, I updated the help messages and man page (new section: BUGS) that describes this limitation, and I'll leave the bug open for the future when/if I have time to actually go fix this. :-) ---------------------------------------------------------------------- Comment By: Jeff Squyres (jsquyres) Date: 2004-01-14 19:30 Message: Logged In: YES user_id=11722 I'll see what I can do here. IIRC, there were some weird issues that forced me to put in the strict ordering. But that could have all been while I was writing the first version and just getting it to work. I'll see if it's easy to do this now... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=465047&aid=877263&group_id=51915 |