scores

football-data.org terminal interface
Log | Files | Refs | README | LICENSE

commit 610cc027f905579f3cb2e7cbef265ac92a51d97c
parent caa87b66bd0e24c588a497c19e9380f9ede70b1f
Author: mtmn <miro@haravara.org>
Date:   Sun, 21 Jun 2026 23:11:32 +0200

docs: trim unnecessarily verbose helpers

Diffstat:
MREADME.md | 4++--
Msrc/config.rs | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -30,8 +30,8 @@ scores [OPTIONS] * `-s`, `--standings`: Show league standings/table. * `-t`, `--token <TOKEN>`: API token from football-data.org (required). * `-f`, `--filter <TEAM>`: Filter by team name or abbreviation. -* `-a`, `--all`: List all matches across every competition (ignores `--league`). This is the default when no `--league` is given. -* `-l`, `--league <LEAGUE>`: League to display. When omitted, all competitions are shown. +* `-a`, `--all`: List all matches across every competition (default). +* `-l`, `--league <LEAGUE>`: League to display. ### Leagues diff --git a/src/config.rs b/src/config.rs @@ -17,7 +17,7 @@ pub struct Cli { #[arg(long, short = 's')] pub standings: bool, - /// List all matches across every competition (default; ignores --league) + /// List all matches across every competition (default) #[arg(long, short = 'a')] pub all: bool, @@ -25,7 +25,7 @@ pub struct Cli { #[arg(long, short = 'f')] pub filter: Option<String>, - /// League to display (defaults to all competitions when omitted) + /// League to display #[arg(long, short = 'l', value_name = "LEAGUE")] pub league: Option<String>, }