Adding alias for listing spam and ham count
This commit is contained in:
@@ -37,6 +37,7 @@ step_1() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
step_20_info() { echo "List spam/ham counts"; }
|
step_20_info() { echo "List spam/ham counts"; }
|
||||||
|
step_20_alias() { ALIAS="list"; }
|
||||||
step_20() {
|
step_20() {
|
||||||
exe mysql -D $SA_BAYES_DBNAME -e 'select username,spam_count,ham_count from bayes_vars;'
|
exe mysql -D $SA_BAYES_DBNAME -e 'select username,spam_count,ham_count from bayes_vars;'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user