update username tips
This commit is contained in:
parent
e820d953f5
commit
ffde76d153
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
@ -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>,
|
||||
}
|
||||
|
|
Reference in a new issue