[Bug 1207144] New: suse-prime cli commands no proper output and generaly meaningless output logic
http://bugzilla.opensuse.org/show_bug.cgi?id=1207144 Bug ID: 1207144 Summary: suse-prime cli commands no proper output and generaly meaningless output logic Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: All OS: openSUSE Leap 15.4 Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: joerg.buelow@schoerch.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- suse-prime cli commands no proper output and generaly meaningless output logic. System Enviroment: ================== - HP Latop Intentel core i7 with dedicate Nvidia card - HP dock - 2x FHD+ Monitor openSUE lEap 15.4 latest patch # zypper se -si prime Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository --+---------------------------+---------+------------------+--------+-------------- i | plasma5-applet-suse-prime | package | 1.1-bp154.3.27 | noarch | leap_main_oss i | suse-prime | package | 0.8.6-150400.1.4 | noarch | leap_main_oss Problem descripton: =================== After the last Nvidia driver update I wanted to check the status. This command no longer outputs the status. Instead, the help comes. When I dug deeper into the command options, I found that they are completely without proper function. Found behavior: =============== 1.) prime-select -> get help 2.) prime-select get-current -> only the help again 3.) prime-select get-last -> only the help again 4.) prime-select get+ [tab] -> no completions 5.) man prime-select -> nothing Expected behavior: ================== 1.) prime-select -> short Info of prime-sect Version and current settings. No full help. 2.) prime-select get-current -> only the current setup 3.) prime-select get-last -> only the latest setup 4.) prime-select get+ [tab] -> autocomplete the option paratmeters, because no short key (aka -g -l -v -h....) 5.) man prime-select -> this should be present and contain the full help -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207144 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |X.Org Assignee|screening-team-bugs@suse.de |gfx-bugs@suse.de QA Contact|qa-bugs@suse.de |gfx-bugs@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207144 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |IN_PROGRESS Assignee|gfx-bugs@suse.de |sndirsch@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207144 http://bugzilla.opensuse.org/show_bug.cgi?id=1207144#c1 --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> ---
Found behavior: =============== 1.) prime-select -> get help
By design. But "--help" as quasi-standard works as well if you prefer that.
2.) prime-select get-current -> only the help again
Indeed you get the help text *in between* of the status. And the bbswitch check output at the end, even with no configured driver. This is confusing. I will remove the help text from this output completely. And the bbcheck(), when no driver is configured.
3.) prime-select get-last -> only the help again
Also by design. No such option available. It's meant to help the user.
4.) prime-select get+ [tab] -> no completions
1. There are no such options apart from get-current 2. completions is not part of a program itself. It's handled in some database somewhere else.
5.) man prime-select -> nothing
prime-select is not the first program which comes without manpage, but instead comes with "--help" option. There is also a README.md file and a github project. https://github.com/openSUSE/SUSEPrime No plans to change this. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207144 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|suse-prime cli commands no |suse-prime: Confusing help |proper output and generaly |and bbswitch text in |meaningless output logic |"get-current" option if no | |driver is configured -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207144 http://bugzilla.opensuse.org/show_bug.cgi?id=1207144#c2 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #2 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Stefan Dirsch from comment #1)
2.) prime-select get-current -> only the help again
Indeed you get the help text *in between* of the status. And the bbswitch check output at the end, even with no configured driver. This is confusing.
I will remove the help text from this output completely. And the bbcheck(), when no driver is configured.
Fixed in new release 0.8.14. Also already submitted to factory/Tumbleweed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207144 http://bugzilla.opensuse.org/show_bug.cgi?id=1207144#c3 --- Comment #3 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1207144) was mentioned in https://build.opensuse.org/request/show/1058446 Factory / suse-prime -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com