Mailinglist Archive: opensuse-bugs (5295 mails)

< Previous Next >
[Bug 848915] New: profoundly bad argument parsing in intel_backlight
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 4 Nov 2013 22:16:53 +0000
  • Message-id: <bug-848915-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=848915

https://bugzilla.novell.com/show_bug.cgi?id=848915#c0


Summary: profoundly bad argument parsing in intel_backlight
Classification: openSUSE
Product: openSUSE 13.1
Version: RC 1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: jnelson-suse@xxxxxxxxxxx
QAContact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101
Firefox/24.0

linux-k1fq:~ # intel_backlight
current backlight value: 100%
linux-k1fq:~ # intel_backlight -h
current backlight value: 100%
set backlight to 0%
linux-k1fq:~ #



Imagine how much fun it was to have my display suddenly go to 100% black while
trying to get the usage/help for a program. Fortunately, I managed to hit
up-arrow and backspace a few times, type '100', and hit enter once based
entirely on a *guess* as to how this software works.

It's a bit insane that the *default* approach to failure-to-parse-an-argument
is to *assume* that the user wants the backlight set to *zero* percent.


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >