update username tips

This commit is contained in:
Mylloon 2023-01-13 17:47:21 +01:00
parent e820d953f5
commit ffde76d153
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 3 additions and 3 deletions

View file

@ -9,13 +9,13 @@ Récupère les notes depuis le site de Paris 8
### En ligne de commande
```
$ uwm prenom.nom
$ uwm username
```
### Avec un fichier de configuration `config.toml`
```toml
username = "prenom.nom"
username = "username" # Exemple pour Alice Dupont : adupont
password = "password" # Facultatif
```

View file

@ -14,7 +14,7 @@ struct Config {
#[derive(Parser)]
#[clap(version, about, long_about = None)]
struct Args {
/// Your username, before the @ of the email address
/// Your username
#[clap(value_parser)]
username: Option<String>,
}