From 63ea08aef757bed6b8cde5447ebed44e9d88c73b Mon Sep 17 00:00:00 2001 From: Linus789 Date: Tue, 28 Feb 2023 06:15:58 +0100 Subject: [PATCH] install: improve description of -user --- install.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.go b/install.go index e36f6b3..e58f7b8 100644 --- a/install.go +++ b/install.go @@ -32,7 +32,11 @@ var ( installDryRun = cmdInstall.Fset.Bool("n", false, "Only print the operations that would be done") installUpdatesExclude = cmdInstall.Fset.String("e", "", "Exclude apps from upgrading (comma-separated list)") installSkipError = cmdInstall.Fset.Bool("s", false, "Skip to the next application if a download or install error occurs") - installUser = cmdInstall.Fset.String("user", "", "Install for specified user (default: \"current\" for installing, and upgrading only for users who have the app installed)") + installUser = cmdInstall.Fset.String("user", "", `Install/upgrade for specified user + default: installs app for the current user; upgrades apps of all users and installs the new version only for the users of the old version + USER_ID: installs app for USER_ID; upgrades only apps of USER_ID and installs the new version only for USER_ID + current: installs app for the current user; upgrades only apps of the current user and installs the new version only for the current user + all: installs app for all users; upgrades apps of all users and installs the new version for all users`) ) func init() {