mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	install: Slightly tighten up CLI parsing.
This causes us to give an error if you pass the installer any positional arguments, e.g. with `--`. There's no reason you'd want to do this, but I accidentally did it by passing an extra `--` to the `test-install/install` wrapper and spent a few minutes on confused debugging.
This commit is contained in:
		@@ -43,11 +43,16 @@ while true; do
 | 
			
		||||
            shift
 | 
			
		||||
            ;;
 | 
			
		||||
        --)
 | 
			
		||||
            shift
 | 
			
		||||
            break
 | 
			
		||||
            ;;
 | 
			
		||||
    esac
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
if [ "$#" -gt 0 ]; then
 | 
			
		||||
    usage
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [ -n "$show_help" ]; then
 | 
			
		||||
    usage
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user