diff options
| author | karltk <karltk@gentoo.org> | 2003-12-08 21:21:24 +0000 |
|---|---|---|
| committer | karltk <karltk@gentoo.org> | 2003-12-08 21:21:24 +0000 |
| commit | e1e28ae986057fa550e41642d3b12507840ab115 (patch) | |
| tree | 08eb5845a56019e8cac89ae3c73bc4b64d267275 /trunk/src/gentool | |
| parent | 8437db08903cfbbd179a2d487691ae95f9c17c48 (diff) | |
| download | gentoolkit-e1e28ae986057fa550e41642d3b12507840ab115.tar.gz | |
Collected all pending updates
svn path=/; revision=43
Diffstat (limited to 'trunk/src/gentool')
| -rwxr-xr-x | trunk/src/gentool/gentool | 29 | ||||
| -rw-r--r-- | trunk/src/gentool/gentool.1 | 12 |
2 files changed, 28 insertions, 13 deletions
diff --git a/trunk/src/gentool/gentool b/trunk/src/gentool/gentool index c2019f5..e4148c9 100755 --- a/trunk/src/gentool/gentool +++ b/trunk/src/gentool/gentool @@ -143,7 +143,7 @@ class CmdListFiles(Command): class CmdListBelongs(Command): - """List all packages owning file_spec""" + """List all packages owning a particular file""" def __init__(self): self.default_opts = { "category": "*", @@ -219,41 +219,44 @@ class CmdListBelongs(Command): " " + yellow("-c, --category cat") + " - only search in category " + yellow("cat") + "\n" + \ " " + yellow("-e, --earlyout") + " - stop when first match found\n" -def cmdDepends(file_spec): +class CmdListDepends(Command): """List all packages directly or indirectly depending on pkgQuery""" pass -def cmdDisplayUSEs(query): +class CmdDisplayUSEs(Command): """Advanced report of a package's USE flags""" pass -def cmdDisplayDepGraph(pkgQuery): +class CmdDisplayDepGraph(Command): """Display tree graph of deps for pkgQuery""" pass -def cmdDisplayReverseDepGraph(pkgQuery): - """Display tree graph of reverse deps for pkgQuery""" - pass - -def cmdDisplayChanges(pkgQuery): +class CmdDisplayChanges(Command): """Display changes for pkgQuery""" pass -def cmdDisplaySize(pkgQuery): +class CmdDisplaySize(Command): """Display disk size consumed by pkgQuery""" pass -def cmdCheckIntegrity(pkgQuery): +class CmdCheckIntegrity(Command): """Check timestamps and md5sums for files owned by pkgQuery""" pass -def cmdPortageStatistics(): +class CmdDisplayStatistics(Command): """Display statistics about installed and uninstalled packages""" pass Known_commands = { "files": CmdListFiles(), - "belongs": CmdListBelongs() + "belongs": CmdListBelongs(), + "depends": CmdListDepends(), + "uses": CmdDisplayUSEs(), + "depgraph": CmdDisplayDepGraph(), + "changes": CmdDisplayChanges(), + "size": CmdDisplaySize(), + "check": CmdCheckIntegrity(), + "stats": CmdDisplayStatistics() } Config = { diff --git a/trunk/src/gentool/gentool.1 b/trunk/src/gentool/gentool.1 new file mode 100644 index 0000000..0f52b7f --- /dev/null +++ b/trunk/src/gentool/gentool.1 @@ -0,0 +1,12 @@ +.TH gentool "1" "Nov 2003" "gentoolkit" +.SH NAME +gentool \- Gentoo: Package Query Tool +.SH SYNOPSIS +.B gentool +.SH BUGS +This tool does not yet have a man page. Feel free to submit a bug about it to +http://bugs.gentoo.org +.SH AUTHORS +This informative man page was written by Karl Trygve Kalleberg +<karltk@gentoo.org>. + |
