zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #05064
[Branch ~zeitgeist/zeitgeist/bluebird] Rev 418: Update talis help string.
------------------------------------------------------------
revno: 418
committer: Siegfried-Angel Gevatter Pujals <siegfried@xxxxxxxxxxxx>
branch nick: bluebird
timestamp: Sun 2012-03-11 20:52:24 +0100
message:
Update talis help string.
modified:
tools/talis
--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird
Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'tools/talis'
--- tools/talis 2012-03-07 20:25:20 +0000
+++ tools/talis 2012-03-11 19:52:24 +0000
@@ -10,9 +10,10 @@
talis [options] <enter search terms here>
OPTIONS:
- --mode=, -m= MODE
- --offset=, -o= Offset into result set
- --hits=, -h= Max number of hits to return
+ --mode=, -m= MODE
+ --offset=, -o= Offset into result set
+ --hits=, -h= Max number of hits to return
+ --relevancies, -r With relevancies
MODES:
LeastPopularActor
@@ -66,7 +67,8 @@
print "No hits for '%s'" % query
raise SystemExit(0)
-print "%s-%s of %s hits for '%s'. Sorted by '%s':" % (offset+1, len(results)+offset, count, query, "Relevancy+" + mode_string if relevancy_mode else mode_string)
+print "%s-%s of %s hits for '%s'. Sorted by '%s':" % (offset+1,
+ len(results)+offset, count, query, mode_string)
i = offset+1
events = map(Event, results)