# -c short option # -l long option # -a accepts option "option1 option2" complete -c poi -s h -l help --description 'Display command-line options list.' complete -c poi -s v -l version --description 'Display version information.' complete -c poi -l build --description 'Display build commit.' complete -c poi -s c -l config -r --description 'Set configuration file.' complete -c poi -l no-remote --description 'Do not accept or send remote commands.' complete -c poi -s s -l session -r --description 'Open the selected session' complete -c poi -l pick-session --description 'Show all available sessions and select which one to open.'