commit 4e4f615e2960cadca7712b9aafd2507a856a776e from: mtmn date: Mon Jun 1 23:24:25 2026 UTC chore: add shorthand for drift and playlist commit - 85d0fe8707d7791c11112b6c635dfbc6e7445e1c commit + 4e4f615e2960cadca7712b9aafd2507a856a776e blob - 4e69e913bbd0ef6d1ca24d45d4238d549d51ea01 blob + 84d774795cc023bad9bcee7816baaab2fe665f93 --- README.md +++ README.md @@ -30,8 +30,8 @@ cargo build --release ### Options -* `--drift `: BPM drift tolerance. If specified, only tracks with a BPM within `DRIFT` of the reference track will be shown. -* `--playlist`: Create an M3U playlist file with matched tracks (saved alongside reference track). +* `-d`, `--drift `: BPM drift tolerance. If specified, only tracks with a BPM within `DRIFT` of the reference track will be shown. +* `-p`, `--playlist`: Create an M3U playlist file with matched tracks (saved alongside reference track). * `-v`, `--verbose`: Enable verbose output, showing the number of files found. * `-h`, `--help`: Print help information. * `-V`, `--version`: Print version information. blob - 6df802a773e1c87ac5f8c793b88f31fb11a60750 blob + 687dd67b59c0551f08b6dfce72879c5e6a6cb942 --- src/main.rs +++ src/main.rs @@ -25,11 +25,11 @@ struct Args { /// BPM drift tolerance. If specified, only tracks within DRIFT BPM /// of the reference track will be included. Without this flag, all /// key-compatible tracks are shown regardless of BPM. - #[arg(long)] + #[arg(short, long)] drift: Option, /// Create M3U playlist with matched tracks - #[arg(long)] + #[arg(short, long)] playlist: bool, /// Enable verbose output