diff options
| author | Teddy Wing | 2018-04-19 20:49:31 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2018-04-19 20:49:31 +0200 | 
| commit | 9909a132d5a855f69501d2258e29d8dab80ab522 (patch) | |
| tree | 35bd0cd345f3c5f1ace6c4046edf65a8b254ce36 | |
| parent | 04d5752774cc1ebb97b1df11acb5f9eaf2fd443e (diff) | |
| download | redprine-9909a132d5a855f69501d2258e29d8dab80ab522.tar.bz2 | |
Fix infinite loop when `--cache-only` argument given
If this command line argument was passed, the program would go into an
infinite loop, prevented from finishing argument parsing.
| -rwxr-xr-x | redprine | 3 | 
1 files changed, 3 insertions, 0 deletions
| @@ -304,6 +304,9 @@ function parse_arguments () {  			;;  		--cache-only)  			CACHE_ONLY=1 + +			shift +			continue  			;;  		-h | --help)  			print_usage | 
