It is currently January 21st, 2019, 3:53 am


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Command-line argument parsing
PostPosted: July 5th, 2012, 6:30 am 
User avatar

Joined: October 20th, 2011, 9:20 am
Posts: 220
Location: Subnet
starting a GUI through the command line causes the non-fatal error:

Code:
$ mono ConfigGUI.exe
Unknown argument: /[...]/fcraft/ConfigGUI.exe

$ mono ServerGUI.exe
Unknown argument: /[...]/fcraft/ServerGUI.exe


CLI .exes do not seem to be affected.

I don't know about windows, but in linux, argv[0] is always the command that started the program.

Show
There's no real problem with this, though. Everything still works.

_________________
A = {x ∈ P(U) | x ∉ x}

Show
Mods:
  1. /Su - Allows players to temporarily become a different rank
  2. /Snap - Like /Line but only draws straight or diagonal lines.
  3. pre-0.630 skip/none block


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Command-line argument parsing
PostPosted: July 5th, 2012, 6:41 am 
fCraft Developer
User avatar

Joined: May 21st, 2011, 10:53 pm
Posts: 1386
Strange. Probably a Mono-specific quirk, as usual. Investigating.


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net