diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-11-11 23:05:43 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-11-11 23:29:20 +0100 |
commit | 3a96d7c3dd864e4312df723ea54c2f710f55380c (patch) | |
tree | 7e8ec13fadda544f33c095e8742314210c4db6a0 /gnu.scm | |
parent | 6237b9fa39c6ab3283c50b96520b990c8612abc1 (diff) |
guix gc: Error out when extra arguments are passed.
Fixes <http://bugs.gnu.org/21817>.
Reported by Petter Berntsen <petter@mykolab.ch>.
* guix/scripts/gc.scm (guix-gc)[assert-no-extra-arguments]: New
procedure.
Use it for actions 'collect-garbage', 'optimize', and 'verify'.
* tests/guix-gc.sh: Add tests.
Diffstat (limited to 'gnu.scm')
0 files changed, 0 insertions, 0 deletions