Bug 49906 - offer $USER as default for --username argument of univention-appcenter-control
offer $USER as default for --username argument of univention-appcenter-control
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-07-23 07:49 CEST by Daniel Tröder
Modified: 2019-07-23 07:49 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2019-07-23 07:49:35 CEST
The "univention-appcenter-control" cmdline tool has an option "--username". Its default is empty. When not set, the username will be asked.

Offer to use the USER environment variable, if no username is entered. Change the prompt from
-------------------
Username:
-------------------

to

-------------------
Username [dtroeder]:
-------------------

(With "dtroeder" being the content of the USER environment variable.)