Add a guarantee to calling in order the callback for the short option and add const in callback