You may use bash scripts from GitHub, and you may notice that there is a standard option scheme that is followed. It's not required, but it is preferable.
These are some of the commonly used options:
- -a: List all items
- -c: Get a count of all items
- -d: Output directory
- -e: Expand items
- -f: Specify a file
- -h: Show the help page
- -i: Ignore the character case
- -l: List a text
- -o: Send output to a file
- -q: Keep silent; don't ask the user
- -r: Process something recursively
- -s: Use stealth mode
- -v: Use verbose mode
- -x: Specify an executable
- -y: Accept without prompting me