* 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.
This commit is contained in:
Eelco Dolstra 2004-02-09 11:59:39 +00:00
parent 06a75a7e0c
commit 618aa69b01
4 changed files with 81 additions and 24 deletions

View file

@ -14,6 +14,7 @@ struct DrvName
string version;
unsigned int hits;
DrvName();
DrvName(const string & s);
bool matches(DrvName & n);
};