Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Commit

Permalink
Correct error message
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Jul 28, 2023
1 parent 2a94718 commit 336231a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nixpkgs-url/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ $ nixpkgs-url -version`
}

if givenFlagsCount != 1 {
log.Fatalf("`detect` subcommand called with %d flags, but it accepts just one flag", givenFlagsCount)
log.Fatalf("`detect` subcommand called with %d flags of `--last`, `--target`, `--current`, but it accepts just one flag except `--jump`", givenFlagsCount)
}

if *lastFlag {
Expand Down

0 comments on commit 336231a

Please sign in to comment.