Wrong cli parameters give cryptic error messages
Bug #701395 reported by
freak42
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
disper |
Confirmed
|
Wishlist
|
wvengen |
Bug Description
Not so much a bug as a nuisance.
Calling disper with a wrong formatted set of cli parameters returns strange error messages:
> disper -d auto -e -direction=left
the above command should feature two dashes before direction "--direction": the command is parsed as -d (display) and uses "irection" as a display name and therefore raises the error "Garbage metamode: restart X before changing the display configuration to avoid crashes in the nVidia driver" in my case.
Obviously this is my fault, however it took me a great deal to find out the cause of the problem and providing a more appropriate error message might be sensible.
To post a comment you must log in.
FWIW, I ran into this when attempting...
disper -e -d=DFP-1,DFP-0
...instead, I needed a space after the -d option, not an equals sign:
disper -e -d DFP-1,DFP-0
On the bright side, disper now saves me about 17 clicks per day :D No more NVIDIA X Server Settings GUI!