After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 771960 - --version could report vte version too
--version could report vte version too
Status: RESOLVED FIXED
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-09-25 21:40 UTC by Egmont Koblinger
Modified: 2016-09-27 19:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Egmont Koblinger 2016-09-25 21:40:28 UTC
"gnome-terminal --version" could also report vte's version along with its features string.
Comment 1 Mohammed Sadiq 2016-09-27 16:02:54 UTC
> + g_print ("%s %s ", _("GNOME Terminal"), VERSION);

removing '\n' newline from output may make shell scripts harder to strip the version number from the output. It might be better to print the version details on separate line.
Comment 2 Christian Persch 2016-09-27 19:26:50 UTC
The output of the gnome-terminal command is not ABI, and you should not try to parse it. Do you have an example of someone who actually does this?