Fix overloaded argparse keys (#27379)
Commands should not reuse option names defined in main.
This commit is contained in:
		 Harmen Stoppels
					Harmen Stoppels
				
			
				
					committed by
					
						 Massimiliano Culpo
						Massimiliano Culpo
					
				
			
			
				
	
			
			
			 Massimiliano Culpo
						Massimiliano Culpo
					
				
			
						parent
						
							7c6b253d89
						
					
				
				
					commit
					d862507bcf
				
			| @@ -969,12 +969,7 @@ _spack_env_st() { | ||||
| } | ||||
|  | ||||
| _spack_env_loads() { | ||||
|     if $list_options | ||||
|     then | ||||
|         SPACK_COMPREPLY="-h --help -n --module-set-name -m --module-type --input-only -p --prefix -x --exclude -r --dependencies" | ||||
|     else | ||||
|         _environments | ||||
|     fi | ||||
|     SPACK_COMPREPLY="-h --help -n --module-set-name -m --module-type --input-only -p --prefix -x --exclude -r --dependencies" | ||||
| } | ||||
|  | ||||
| _spack_env_view() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user