GNOME Bugzilla – Bug 785545
add '--version' option to gnome-tweaks CLI
Last modified: 2017-07-28 22:33:01 UTC
Created attachment 356533 [details] [review] add '--version' option to gnome-tweaks CLI In my opinion, it would a good idea to add a '--version' option to the GNOME tweaks CLI so that it follows the GNU Coding Standards [1]. Thanks to the optparse library [2], this can be easily fixed by passing a version argument to OptionParser. [1] https://www.gnu.org/prep/standards/html_node/Command_002dLine-Interfaces.html [2] https://docs.python.org/3.5/library/optparse.html#printing-a-version-string
See the attached patch file for more details.
Review of attachment 356533 [details] [review]: Thanks! Let me know if you need me to push this to the git repo for you.
Hi Jeremy. I'm a new contributor to GNOME so I have no git access the repository :-). Feel free to push it to the repository :-).
Welcome to GNOME! I tweaked the commit message slightly and pushed for you. Attachment 356533 [details] pushed as 3c6aa1b - add '--version' option to gnome-tweaks CLI