File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -249,25 +249,18 @@ Empty ()
249249 LocalUsage ()
250250 {
251251 echo " Usage:"
252- echo " ${PROGNAME} empty [-i|--input <file>] [- v|--verbose] [-d]"
252+ echo " ${PROGNAME} empty [-v|--verbose] [-d]"
253253 echo " "
254- echo " Creates an empty configuration. If the input file is specified"
255- echo " it directly outputs the given file."
254+ echo " Creates an empty configuration."
256255 echo " "
257256 echo " Options:"
258257 echo " -d option performs dry run with verbose mode"
259- echo " -i option can be used for specifying the input file"
260258 }
261259
262260 while [ $# -gt 0 ]
263261 do
264262 opt=" $1 "
265263 case $opt in
266- -i|--input)
267- ExpectOption " $@ "
268- shift
269- INPUT_FILE=$( OneArgument " $@ " )
270- ;;
271264 -d)
272265 DO=echo
273266 VERBOSE=true
@@ -292,6 +285,7 @@ Empty ()
292285 done
293286
294287 EMPTY=true
288+ unset INPUT_FILE
295289
296290 CheckInputFile
297291 Info
You can’t perform that action at this time.
0 commit comments