aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2026-07-14 20:22:56 +0100
committertslil <tslil@posteo.de>2026-07-14 21:25:04 +0100
commitfc5789e026473ea82237be847672ecb350e64479 (patch)
tree6210659eb424124b55bd67a63397a37931e50b5f /src/cli.rs
parent156cbfe2b0383521f540109682d98d35c88d65f8 (diff)
license, simplify code, add README, lose "learner" naming
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 7be3fd4..b408dae 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -5,7 +5,7 @@ pub enum Action {
NewConfig,
NewState,
DumpTrajectory,
- DumpLearner,
+ DumpIntuition,
Run,
}
@@ -25,8 +25,8 @@ Options:
--new-config Write a default config file and exit.
--new-state Write a default state file and exit.
--dump-trajectory Dump the play trajectory as JSON to stdout.
- --dump-learner Dump learner weights as JSON to stdout.
-<no option> Suggest and play the next album"
+ --dump-intuition Dump intuition data as JSON to stdout.
+ <no option> Suggest and play the next album"
);
}
@@ -48,7 +48,7 @@ pub fn parse() -> Option<Action> {
Some("--new-config") => Some(Action::NewConfig),
Some("--new-state") => Some(Action::NewState),
Some("--dump-trajectory") => Some(Action::DumpTrajectory),
- Some("--dump-learner") => Some(Action::DumpLearner),
+ Some("--dump-intuition") => Some(Action::DumpIntuition),
Some(unknown) => {
eprintln!("Unknown option: {unknown}");
std::process::exit(1);