diff options
Diffstat (limited to 'nix')
-rw-r--r-- | nix/nix-daemon/guix-daemon.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nix/nix-daemon/guix-daemon.cc b/nix/nix-daemon/guix-daemon.cc index 7e266111a0..604a26f0b1 100644 --- a/nix/nix-daemon/guix-daemon.cc +++ b/nix/nix-daemon/guix-daemon.cc @@ -69,7 +69,7 @@ static const struct argp_option options[] = { { "system", GUIX_OPT_SYSTEM, "SYSTEM", 0, "Assume SYSTEM as the current system type" }, - { "build-cores", 'C', "N", 0, + { "cores", 'c', "N", 0, "Use N CPU cores to build each derivation; 0 means as many as available" }, { "max-jobs", 'M', "N", 0, "Allow at most N build jobs" }, @@ -141,7 +141,7 @@ parse_opt (int key, char *arg, struct argp_state *state) case GUIX_OPT_DEBUG: verbosity = lvlDebug; break; - case 'C': + case 'c': settings.buildCores = atoi (arg); break; case 'M': @@ -193,8 +193,8 @@ main (int argc, char *argv[]) argp_parse (&argp, argc, argv, 0, 0, 0); if (geteuid () == 0 && settings.buildUsersGroup.empty ()) - fprintf (stderr, "warning: running as root is highly recommended, " - "unless `--build-users-group' is used\n"); + fprintf (stderr, "warning: daemon is running as root, so " + "using `--build-users-group' is highly recommended\n"); #ifdef HAVE_CHROOT if (settings.useChroot) |