[Lunar-commits] <lunar> Getopt now properly check -g (download) option

Stefan Wold ratler at lunar-linux.org
Sun Jul 14 21:30:30 CEST 2013


commit b4a3264662fc5af38e6cdbd34c0dcb93f11eedbf
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sun, 14 Jul 2013 12:29:28 -0700
URL: https://github.com/lunar-linux/lunar/commit/b4a3264662fc5af38e6cdbd34c0dcb93f11eedbf

Getopt now properly check -g (download) option
---
  prog/lin | +1/-1     
  1 file changed, 1 insertion(+), 1 deletion(-)

--- a/prog/lin
+++ b/prog/lin
@@ -240,7 +240,7 @@ main() {
 . /etc/lunar/config
 . $BOOTSTRAP
 
-GETOPT_ARGS=$(getopt -q -n lin -o "cdf:hprRsvV:w:" -l "compile,debug,deps,download,from:,help,opts:,probe,reconfigure,resurrect,silent,verbose,Version:,want:" -- "$@")
+GETOPT_ARGS=$(getopt -q -n lin -o "cdgf:hprRsvV:w:" -l "compile,debug,deps,download,from:,help,opts:,probe,reconfigure,resurrect,silent,verbose,Version:,want:" -- "$@")
 
 # the following trap makes sure all threads exit in case something weird
 # happens:




More information about the Lunar-commits mailing list