mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-10-31 15:12:28 +00:00 
			
		
		
		
	add --version, aka -v, command line option
This commit is contained in:
		| @@ -61,6 +61,11 @@ int main(int argc, char *argv[]) | ||||
|         return 0; | ||||
|     } | ||||
|  | ||||
|     if (args.contains("-v") || args.contains("--version")) { | ||||
|         qDebug() << "cool-retro-term 0.9"; | ||||
| 	return 0; | ||||
|     } | ||||
|  | ||||
|     // Manage default command | ||||
|     QStringList cmdList; | ||||
|     if (args.contains("-e")) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user