mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-02 23:21:02 +01:00
home-manager: remove rollback subcommand
This removes the possibility of running `home-manager rollback`. It was added by mistake at some point and has never worked since it immediately calls a non-existent function `doRollback`.
This commit is contained in:
parent
7538d96535
commit
ea164b7c9c
1 changed files with 0 additions and 3 deletions
|
|
@ -1329,9 +1329,6 @@ case $COMMAND in
|
||||||
remove-generations)
|
remove-generations)
|
||||||
doRmGenerations "${COMMAND_ARGS[@]}"
|
doRmGenerations "${COMMAND_ARGS[@]}"
|
||||||
;;
|
;;
|
||||||
rollback)
|
|
||||||
doRollback
|
|
||||||
;;
|
|
||||||
expire-generations)
|
expire-generations)
|
||||||
if [[ ${#COMMAND_ARGS[@]} != 1 ]]; then
|
if [[ ${#COMMAND_ARGS[@]} != 1 ]]; then
|
||||||
_i 'expire-generations expects one argument, got %d.' "${#COMMAND_ARGS[@]}" >&2
|
_i 'expire-generations expects one argument, got %d.' "${#COMMAND_ARGS[@]}" >&2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue