def usage():
    print("Usage: bayes.py [option] datafile < infile")
    print("Options:")
    print("  -s, --train-spam - train datafile with infile as spam")
    print("  -h, --train-ham - train datafile with infile as ham")
    print("  -c, --check - check for spam rating of infile")
Prints command-line usage help
dataset/ETHPy150Open dchest/pybayesantispam/bayes.py/usage