Thank you @Daniel van Vugt for your thorough explanation and @Sebastien Bacher for suggestion of reporting at gitlab.gnome.org, I have created this issue:
https://gitlab.gnome.org/GNOME/gnome-session/issues/16 ** Bug watch added: gitlab.gnome.org/GNOME/gnome-session/issues #16 https://gitlab.gnome.org/GNOME/gnome-session/issues/16 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-session in Ubuntu. https://bugs.launchpad.net/bugs/1819920 Title: gnome-session-quit --power-off option ignored Status in gnome-session package in Ubuntu: Confirmed Bug description: OS: Ubuntu 18.04 Command: gnome-session-quit --power-off Expected behaviour: Power off dialogue, with "Power Off" selected Actual behaviour: Power off dialogue, with "Cancel" selected To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1819920/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

