Argument Parsing
- Obsoleted Command::exectute 'commandLine' argument. It is worse than unnecessary, it is an uncategorized raw argument string, which is only really useful for the 'execute' command, which itself now calls Arguments::combine to reconstruct the command line string.
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
|
||||
Context context;
|
||||
|
||||
int main (int argc, char** argv)
|
||||
int main (int argc, const char** argv)
|
||||
{
|
||||
// Set up randomness.
|
||||
#ifdef CYGWIN
|
||||
@@ -63,7 +63,7 @@ int main (int argc, char** argv)
|
||||
|
||||
try
|
||||
{
|
||||
context.initialize (argc, (const char**)argv);
|
||||
context.initialize (argc, argv);
|
||||
status = context.run ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user