mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 14:59:37 +01:00 
			
		
		
		
	* add previously missing support for proper handling of -? from the fpc binary
git-svn-id: trunk@20695 -
This commit is contained in:
		
							parent
							
								
									b12c38984b
								
							
						
					
					
						commit
						2a57a6a307
					
				@ -234,6 +234,8 @@ program fpc;
 | 
				
			|||||||
                begin
 | 
					                begin
 | 
				
			||||||
                  if pos('-h',s)=1 then
 | 
					                  if pos('-h',s)=1 then
 | 
				
			||||||
                    ppccommandline[ppccommandlinelen] := '-hF' + ParamStr (0)
 | 
					                    ppccommandline[ppccommandlinelen] := '-hF' + ParamStr (0)
 | 
				
			||||||
 | 
					                  else if pos('-?',s)=1 then
 | 
				
			||||||
 | 
					                    ppccommandline[ppccommandlinelen] := '-?F' + ParamStr (0)
 | 
				
			||||||
                  else
 | 
					                  else
 | 
				
			||||||
                    ppccommandline[ppccommandlinelen]:=s;
 | 
					                    ppccommandline[ppccommandlinelen]:=s;
 | 
				
			||||||
                  inc(ppccommandlinelen);
 | 
					                  inc(ppccommandlinelen);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user