diff options
| author | mail_redacted_for_web | 2026-03-07 11:05:47 +0100 |
|---|---|---|
| committer | mail_redacted_for_web | 2026-03-07 11:05:47 +0100 |
| commit | 05f529061606d7c7ab94e390074526256079815b (patch) | |
| tree | 6474aba12d0350243237bac995c91af45f4354da /bin/nextcloud-upgrade | |
| parent | f5b86f5ab284fe969358463d472aac2d36d38664 (diff) | |
| download | nextcloud-update-05f529061606d7c7ab94e390074526256079815b.tar.bz2 | |
Move file sourcing, extend help
1. Move "external" sourced files in a place where they aren't failing
before something essential like the help function
2. Tell the user about the required files in the help text
3. Tell the user that -upgrade is rather to be called from somewhere
else (in a built package, this may later reside in a /lib folder)
Diffstat (limited to 'bin/nextcloud-upgrade')
| -rwxr-xr-x | bin/nextcloud-upgrade | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/nextcloud-upgrade b/bin/nextcloud-upgrade index 4dec0aa..bfb4d7f 100755 --- a/bin/nextcloud-upgrade +++ b/bin/nextcloud-upgrade @@ -8,16 +8,13 @@ # Define help function function hayulp { printf 'USAGE: %b [-a|--app-update] [-c|--core-update VERSION]\n\n' "$(basename "$0")" + printf '\033[3mThis is supposed to be called by "nextcloud-update".\033[0m\n\n' ( printf -- '-a,\n' printf -- '--app-update;Update all apps\n' printf -- '-c,\n' printf -- '--core-update;Update the Nextcloud core (including apps update)\n' printf -- ';VERSION is mandatory. "0" for no update at all (e.g. for wrapper scripts).\n' - printf -- '-s,\n' - printf -- '--status;Status including version\n' - printf -- '-u,\n' - printf -- '--update-check;Status including update check\n' printf -- '-h,\n' printf -- '--help;This help text\n' )|column -ts \; |
