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 ()
249
249
LocalUsage ()
250
250
{
251
251
echo " Usage:"
252
- echo " ${PROGNAME} empty [-i|--input <file>] [- v|--verbose] [-d]"
252
+ echo " ${PROGNAME} empty [-v|--verbose] [-d]"
253
253
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."
256
255
echo " "
257
256
echo " Options:"
258
257
echo " -d option performs dry run with verbose mode"
259
- echo " -i option can be used for specifying the input file"
260
258
}
261
259
262
260
while [ $# -gt 0 ]
263
261
do
264
262
opt=" $1 "
265
263
case $opt in
266
- -i|--input)
267
- ExpectOption " $@ "
268
- shift
269
- INPUT_FILE=$( OneArgument " $@ " )
270
- ;;
271
264
-d)
272
265
DO=echo
273
266
VERBOSE=true
@@ -292,6 +285,7 @@ Empty ()
292
285
done
293
286
294
287
EMPTY=true
288
+ unset INPUT_FILE
295
289
296
290
CheckInputFile
297
291
Info
You can’t perform that action at this time.
0 commit comments