mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	feat(commands/doc): return 1 exit code when doc not found
This commit is contained in:
		
							parent
							
								
									4e023703b6
								
							
						
					
					
						commit
						a6bcfdfca9
					
				| @ -39,7 +39,7 @@ commander.register('doc', function(args) | |||||||
| 			end | 			end | ||||||
| 			if not f then | 			if not f then | ||||||
| 				print('No documentation found for ' .. mod .. '.') | 				print('No documentation found for ' .. mod .. '.') | ||||||
| 				return | 				return 1 | ||||||
| 			end | 			end | ||||||
| 		end | 		end | ||||||
| 		funcdocs = f:read '*a':gsub('-([%d]+)', '%1') | 		funcdocs = f:read '*a':gsub('-([%d]+)', '%1') | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user