OPENSTEP compatibility update

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3732 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-02-17 09:26:56 +00:00
parent a0ea7c2794
commit cf830b8635
8 changed files with 24 additions and 13 deletions

View file

@ -49,7 +49,7 @@ main(int argc, char** argv)
args = [proc arguments];
for (i = 0; i < [args count]; i++) {
for (i = 1; i < [args count]; i++) {
if ([[args objectAtIndex: i] isEqual: @"--help"]) {
printf(
"The 'dremove' command lets you delete entries in a user's defaults database.\n"
@ -76,7 +76,7 @@ main(int argc, char** argv)
}
}
i = 0;
i = 1;
if ([args count] > i && [[args objectAtIndex: i] isEqual: @"-u"]) {
if ([args count] > ++i) {
user = [args objectAtIndex: i++];