diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-02-09 11:59:39 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-02-09 11:59:39 +0000 |
commit | 618aa69b015bd3ee1f6e19f3025e31fae0241826 (patch) | |
tree | d99d3908c5c26c722600b78071d2546dcd4cf20a /src/nix-env/names.hh | |
parent | 06a75a7e0c1813d90c205e654da43a32812ce5f4 (diff) |
* In `--upgrade': added flags `--lt', `--leq', `--always' to specify
whether we want to upgrade if the current version is less than the
available version (default), when it is less or equal, or always.
* Added a flag `--dry-run' to show what would happen in `--install',
`--uninstall', and `--upgrade', without actually performing the
operation.
Diffstat (limited to 'src/nix-env/names.hh')
-rw-r--r-- | src/nix-env/names.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-env/names.hh b/src/nix-env/names.hh index 0fc9b57d0..aeb923546 100644 --- a/src/nix-env/names.hh +++ b/src/nix-env/names.hh @@ -14,6 +14,7 @@ struct DrvName string version; unsigned int hits; + DrvName(); DrvName(const string & s); bool matches(DrvName & n); }; |