Corrected usage information for ebooks tweet

Usage information for `ebooks tweet` was incorrect, replaced with relevant explanation.
Fixes mispy/twitter_ebooks/issues/16
This commit is contained in:
Hiramiya 2014-05-11 11:31:45 +01:00
parent a3e7b8e993
commit 4c01b5e57a

View file

@ -116,9 +116,10 @@ STR
def self.tweet(modelpath, botname)
usage = <<STR
Usage: ebooks jsonify <old_corpus_path> [old_corpus_path2] [...]
Usage: ebooks tweet <model_path> <botname>
Takes an old-style corpus of plain tweet text and converts it to json.
Sends a public tweet from the specified bot using text
from the processed model at <model_path>.
STR
if modelpath.nil? || botname.nil?