mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
Bugfix in arg parsing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13432 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
41f9981ac1
commit
0d3b961b62
2 changed files with 15 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-04-11 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Tools/gpbs.m: Fixed bug in argument parsing ... was objecting to
|
||||
-NSHost!
|
||||
|
||||
2002-04-10 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* configure.in: Don't set X paths if no X found. Only set
|
||||
|
|
12
Tools/gpbs.m
12
Tools/gpbs.m
|
@ -1034,9 +1034,17 @@ init(int argc, char** argv)
|
|||
exit(0);
|
||||
}
|
||||
else if ([a isEqualToString: @"--no-fork"] == YES)
|
||||
debug++;
|
||||
{
|
||||
debug++;
|
||||
}
|
||||
else if ([a isEqualToString: @"--verbose"] == YES)
|
||||
verbose++;
|
||||
{
|
||||
verbose++;
|
||||
}
|
||||
else if ([a hasPrefix: @"-"] == YES)
|
||||
{
|
||||
count++; // Skip user default specification
|
||||
}
|
||||
else if ([a length] > 0)
|
||||
{
|
||||
printf("gpbs - GNU Pasteboard server\n");
|
||||
|
|
Loading…
Reference in a new issue