Skip to content

Commit

Permalink
Use full name of person generating documentation as author
Browse files Browse the repository at this point in the history
  • Loading branch information
rfm committed Oct 23, 2023
1 parent 05c8051 commit a9a198a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Tools/AGSOutput.m
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ - (NSArray*) output: (NSMutableDictionary*)d
authors = [info objectForKey: @"authors"];
if (authors == nil)
{
tmp = [NSString stringWithFormat: @"Generated by %@", NSUserName()];
tmp = [NSString stringWithFormat: @"Generated by %@", NSFullUserName()];
[str appendString: @" <author name=\""];
[str appendString: tmp];
[str appendString: @"\"></author>\n"];
Expand Down Expand Up @@ -2365,7 +2365,8 @@ - (NSString*) mergeMarkup: (NSString*)markup
[str appendString: @" <title>"];
[str appendString: kind];
[str appendString: @"</title>\n"];
tmp = [NSString stringWithFormat: @"Generated by %@", NSUserName()];
tmp = [NSString stringWithFormat: @"Generated by %@",
NSFullUserName()];
[str appendString: @" <author name=\""];
[str appendString: tmp];
[str appendString: @"\"></author>\n"];
Expand Down

0 comments on commit a9a198a

Please sign in to comment.