mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-20 03:30:59 +00:00
[Optparsing] do a shift to delete subcommand
This commit is contained in:
parent
6495099344
commit
d5ca1885ca
3
src/tomb
3
src/tomb
@ -1139,6 +1139,9 @@ main() {
|
|||||||
fi
|
fi
|
||||||
PARAM+=$arg
|
PARAM+=$arg
|
||||||
done
|
done
|
||||||
|
#first parameter actually is the subcommand: delete it and shift
|
||||||
|
PARAM[1]=()
|
||||||
|
shift
|
||||||
### End parsing command-specific options
|
### End parsing command-specific options
|
||||||
|
|
||||||
### Set global options (useless, but for code retro-compatibility)
|
### Set global options (useless, but for code retro-compatibility)
|
||||||
|
Loading…
Reference in New Issue
Block a user