Remove a nonsensical shorthand flag in `nix store add`

`-n` was an alias for `--mode`, but that seems to just be a copy-paste error as it doesn't make sense.
`--mode` probably doesn't need a shorthand flag at all, so remove it.

Noticed in https://github.com/NixOS/nix/pull/9809#issuecomment-1899890555
This commit is contained in:
Théophane Hufschmitt 2024-01-19 10:10:00 +01:00 committed by GitHub
parent 3b20cca962
commit 28d7db249a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -38,7 +38,6 @@ struct CmdAddToStore : MixDryRun, StoreCommand
addFlag({
.longName = "mode",
.shortName = 'n',
.description = R"(
How to compute the hash of the input.
One of: