I have made a script with around 10 optional paramaters that I can give with it:

```
-s sorts the list
-d gives all the directories of the map
-a also the hidden files of the map

```

Example: `. MyScript -d Downloads`

But now I would like a proper way to combine all my paramaters

So I could do: `-sda or -s -d`

Is their an easy way to let this work?
If anyone has a litle explanation or tutorial about this please post it!

Thnx for reading