mirror of
				https://github.com/RetroDECK/RetroDECK.git
				synced 2025-04-10 19:15:12 +00:00 
			
		
		
		
	Cleanup CLI arguments
This commit is contained in:
		
							parent
							
								
									ef4fb74f38
								
							
						
					
					
						commit
						4b1363cc87
					
				
							
								
								
									
										14
									
								
								retrodeck.sh
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								retrodeck.sh
									
									
									
									
									
								
							|  | @ -31,12 +31,10 @@ https://retrodeck.net | |||
|       exit | ||||
|       ;; | ||||
|     --version*|-v*) | ||||
|       #conf_init | ||||
|       echo "RetroDECK v$version" | ||||
|       exit | ||||
|       ;; | ||||
|     --info-msg*) | ||||
|       #conf_init | ||||
|       echo "RetroDECK v$version" | ||||
|       echo "RetroDECK config file is in: $rd_conf" | ||||
|       echo "Contents:" | ||||
|  | @ -53,27 +51,27 @@ https://retrodeck.net | |||
|       else | ||||
|         echo "Please use this command format \"--compress <full path to cue/gdi/iso file>\"" | ||||
|       fi       | ||||
|       shift | ||||
|       exit | ||||
|       ;; | ||||
|     --configure*) | ||||
|       sh /var/config/retrodeck/tools/configurator.sh | ||||
|       shift | ||||
|       exit | ||||
|       ;; | ||||
|     --reset-ra*) | ||||
|       ra_init | ||||
|       shift # past argument with no value | ||||
|       shift # Continue launch after previous command is finished | ||||
|       ;; | ||||
|     --reset-sa*) | ||||
|       standalones_init | ||||
|       shift # past argument with no value | ||||
|       shift # Continue launch after previous command is finished | ||||
|       ;; | ||||
|     --reset-tools*) | ||||
|       tools_init | ||||
|       shift # past argument with no value | ||||
|       shift # Continue launch after previous command is finished | ||||
|       ;; | ||||
|     --reset-all*) | ||||
|       rm -f "$lockfile" | ||||
|       shift # past argument with no value | ||||
|       shift # Continue launch after previous command is finished | ||||
|       ;; | ||||
|     -*|--*) | ||||
|       echo "Unknown option $i" | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 icenine451
						icenine451