mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Tidied a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3279 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
efcd19d69f
commit
7266411f93
1 changed files with 11 additions and 0 deletions
|
@ -82,6 +82,8 @@ main(int argc, char** argv)
|
|||
|
||||
for (index = 0; index < [args count]; index++)
|
||||
{
|
||||
if ([[args objectAtIndex: index] isEqual: @"--verbose"])
|
||||
verbose = YES;
|
||||
if ([[args objectAtIndex: index] isEqual: @"--help"])
|
||||
{
|
||||
printf(
|
||||
|
@ -95,6 +97,7 @@ main(int argc, char** argv)
|
|||
}
|
||||
if ([[args objectAtIndex: index] isEqual: @"--test"])
|
||||
{
|
||||
verbose = YES;
|
||||
while (++index < [args count])
|
||||
{
|
||||
NSString *file = [args objectAtIndex: index];
|
||||
|
@ -532,6 +535,8 @@ validateService(NSDictionary *service, NSString *path, unsigned pos)
|
|||
}
|
||||
if (used == NO)
|
||||
{
|
||||
if (verbose)
|
||||
NSLog(@"Ignoring entry %u in %@ -\n%@\n", pos, path, result);
|
||||
return nil; /* Ignore - already got service with this name */
|
||||
}
|
||||
}
|
||||
|
@ -593,6 +598,8 @@ validateService(NSDictionary *service, NSString *path, unsigned pos)
|
|||
}
|
||||
if (used == NO)
|
||||
{
|
||||
if (verbose)
|
||||
NSLog(@"Ignoring entry %u in %@ -\n%@\n", pos, path, result);
|
||||
return nil; /* Ignore - already got filter for types. */
|
||||
}
|
||||
}
|
||||
|
@ -632,6 +639,8 @@ validateService(NSDictionary *service, NSString *path, unsigned pos)
|
|||
}
|
||||
if (used == NO)
|
||||
{
|
||||
if (verbose)
|
||||
NSLog(@"Ignoring entry %u in %@ -\n%@\n", pos, path, result);
|
||||
return nil; /* Ignore - already got filter with this name */
|
||||
}
|
||||
}
|
||||
|
@ -663,6 +672,8 @@ validateService(NSDictionary *service, NSString *path, unsigned pos)
|
|||
}
|
||||
if (used == NO)
|
||||
{
|
||||
if (verbose)
|
||||
NSLog(@"Ignoring entry %u in %@ -\n%@\n", pos, path, result);
|
||||
return nil; /* Ignore - already got speller with language. */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue