guix package: Allow `guix package -u' to fuction as before. This is a follow up to 6ddf97f81bb99a73f00e30ad5fc19577872b5b49 * guix/scripts/package.scm (%options) <"-u">: Only check for a flag when there is an ARG after '-u'.
1 files changed, 1 insertions(+), 1 deletions(-) M guix/scripts/package.scm
M guix/scripts/package.scm => guix/scripts/package.scm +1 -1
@@ 486,7 486,7 @@ Install, remove, or upgrade packages in a single transaction.\n")) arg-handler)))) (option '(#\u "upgrade") #f #t (lambda (opt name arg result arg-handler) (when (string-prefix? "-" arg) (when (and arg (string-prefix? "-" arg)) (warning (G_ "upgrade regexp '~a' looks like a \ command-line option~%") arg)