forked from Anri/cal8tor
doc
This commit is contained in:
parent
8fdebbe4a1
commit
d237ff3098
1 changed files with 3 additions and 3 deletions
|
@ -10,15 +10,15 @@ mod utils;
|
||||||
#[derive(Parser)]
|
#[derive(Parser)]
|
||||||
#[clap(version, about, long_about = None)]
|
#[clap(version, about, long_about = None)]
|
||||||
struct Args {
|
struct Args {
|
||||||
/// The class you want to get the timetable, i.e.: M1-LP
|
/// The class you want to get the timetable, i.e.: M1
|
||||||
#[clap(value_parser)]
|
#[clap(value_parser)]
|
||||||
class: String,
|
class: String,
|
||||||
|
|
||||||
/// The semester you want (1 or 2)
|
/// The semester you want (1 or 2), default to current semester
|
||||||
#[clap(short, long, value_parser, value_name = "SEMESTER NUMBER")]
|
#[clap(short, long, value_parser, value_name = "SEMESTER NUMBER")]
|
||||||
semester: Option<i8>,
|
semester: Option<i8>,
|
||||||
|
|
||||||
/// The year, default to the current year
|
/// The year, default to current year
|
||||||
#[clap(short, long, value_parser, value_name = "YEAR")]
|
#[clap(short, long, value_parser, value_name = "YEAR")]
|
||||||
year: Option<i32>,
|
year: Option<i32>,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue