Skip to content

Commit

Permalink
Remove case matches that do nothing from nixops spec creation
Browse files Browse the repository at this point in the history
Currently, some commands are explicitly handled by a case match that
does nothing, and other commands simply have no corresponding match.

This commit should improve the consistency of the code when it comes to
how commands that don't have any special arguments are handled.
  • Loading branch information
Avaq committed Mar 29, 2020
1 parent 46c40cc commit 0e8268f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions _nix
Original file line number Diff line number Diff line change
Expand Up @@ -925,9 +925,6 @@ function _nix_completion () {
main_options=('--all' '--plain' '--no-eval')
break
;;
ssh)
break
;;
ssh-for-each)
main_options=(
'(--parallel|-p)'{--parallel,-p}
Expand Down Expand Up @@ -962,9 +959,6 @@ function _nix_completion () {
main_options=(':->nixops_machines')
break
;;
export)
break
;;
import)
main_options=(
'--include-keys')
Expand Down

0 comments on commit 0e8268f

Please sign in to comment.