mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	[Fix] debug: correct mistaken -V to --version from #2922
				
					
				
			This commit is contained in:
		
							
								
								
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -2997,7 +2997,7 @@ nvm() { | |||||||
|         nvm_err "OS version: ${OS_VERSION}" |         nvm_err "OS version: ${OS_VERSION}" | ||||||
|       fi |       fi | ||||||
|       if nvm_has "awk"; then |       if nvm_has "awk"; then | ||||||
|         nvm_err "awk: $(nvm_command_info awk), $({ command awk -V 2>/dev/null || command awk -W version; } \ |         nvm_err "awk: $(nvm_command_info awk), $({ command awk --version 2>/dev/null || command awk -W version; } \ | ||||||
|           | command head -n 1)" |           | command head -n 1)" | ||||||
|       else |       else | ||||||
|         nvm_err "awk: not found" |         nvm_err "awk: not found" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user