mirror of
https://github.com/clap-rs/clap
synced 2024-09-21 06:41:54 +00:00
chore(docs): rebuild documentation
This commit is contained in:
parent
2b3d3fd901
commit
43955e8c48
2 changed files with 8 additions and 8 deletions
|
@ -189,16 +189,16 @@
|
|||
.<span class='ident'>version</span>(<span class='string'>"1.0"</span>)
|
||||
.<span class='ident'>author</span>(<span class='string'>"Kevin K. <kbknapp@gmail.com>"</span>)
|
||||
.<span class='ident'>about</span>(<span class='string'>"Does awesome things"</span>)
|
||||
.<span class='ident'>arg</span>(<span class='ident'>Arg</span>::<span class='ident'>new</span>(<span class='string'>"CONFIG"</span>)
|
||||
.<span class='ident'>arg</span>(<span class='ident'>Arg</span>::<span class='ident'>with_name</span>(<span class='string'>"CONFIG"</span>)
|
||||
.<span class='ident'>short</span>(<span class='string'>"c"</span>)
|
||||
.<span class='ident'>long</span>(<span class='string'>"config"</span>)
|
||||
.<span class='ident'>help</span>(<span class='string'>"Sets a custom config file"</span>)
|
||||
.<span class='ident'>takes_value</span>(<span class='boolval'>true</span>))
|
||||
.<span class='ident'>arg</span>(<span class='ident'>Arg</span>::<span class='ident'>new</span>(<span class='string'>"INPUT"</span>)
|
||||
.<span class='ident'>arg</span>(<span class='ident'>Arg</span>::<span class='ident'>with_name</span>(<span class='string'>"INPUT"</span>)
|
||||
.<span class='ident'>help</span>(<span class='string'>"Sets the input file to use"</span>)
|
||||
.<span class='ident'>required</span>(<span class='boolval'>true</span>)
|
||||
.<span class='ident'>index</span>(<span class='number'>1</span>))
|
||||
.<span class='ident'>arg</span>(<span class='ident'>Arg</span>::<span class='ident'>new</span>(<span class='string'>"debug"</span>)
|
||||
.<span class='ident'>arg</span>(<span class='ident'>Arg</span>::<span class='ident'>with_name</span>(<span class='string'>"debug"</span>)
|
||||
.<span class='ident'>short</span>(<span class='string'>"d"</span>)
|
||||
.<span class='ident'>multiple</span>(<span class='boolval'>true</span>)
|
||||
.<span class='ident'>help</span>(<span class='string'>"Sets the level of debugging information"</span>))
|
||||
|
@ -206,7 +206,7 @@
|
|||
.<span class='ident'>about</span>(<span class='string'>"controls testing features"</span>)
|
||||
.<span class='ident'>version</span>(<span class='string'>"1.3"</span>)
|
||||
.<span class='ident'>author</span>(<span class='string'>"Someone E. <someone_else@other.com>"</span>)
|
||||
.<span class='ident'>arg</span>(<span class='ident'>Arg</span>::<span class='ident'>new</span>(<span class='string'>"verbose"</span>)
|
||||
.<span class='ident'>arg</span>(<span class='ident'>Arg</span>::<span class='ident'>with_name</span>(<span class='string'>"verbose"</span>)
|
||||
.<span class='ident'>short</span>(<span class='string'>"v"</span>)
|
||||
.<span class='ident'>help</span>(<span class='string'>"print test information verbosely"</span>)))
|
||||
.<span class='ident'>get_matches</span>();
|
||||
|
|
|
@ -1068,16 +1068,16 @@
|
|||
<span class='doccomment'>//! .version("1.0")</span>
|
||||
<span class='doccomment'>//! .author("Kevin K. <kbknapp@gmail.com>")</span>
|
||||
<span class='doccomment'>//! .about("Does awesome things")</span>
|
||||
<span class='doccomment'>//! .arg(Arg::new("CONFIG")</span>
|
||||
<span class='doccomment'>//! .arg(Arg::with_name("CONFIG")</span>
|
||||
<span class='doccomment'>//! .short("c")</span>
|
||||
<span class='doccomment'>//! .long("config")</span>
|
||||
<span class='doccomment'>//! .help("Sets a custom config file")</span>
|
||||
<span class='doccomment'>//! .takes_value(true))</span>
|
||||
<span class='doccomment'>//! .arg(Arg::new("INPUT")</span>
|
||||
<span class='doccomment'>//! .arg(Arg::with_name("INPUT")</span>
|
||||
<span class='doccomment'>//! .help("Sets the input file to use")</span>
|
||||
<span class='doccomment'>//! .required(true)</span>
|
||||
<span class='doccomment'>//! .index(1))</span>
|
||||
<span class='doccomment'>//! .arg(Arg::new("debug")</span>
|
||||
<span class='doccomment'>//! .arg(Arg::with_name("debug")</span>
|
||||
<span class='doccomment'>//! .short("d")</span>
|
||||
<span class='doccomment'>//! .multiple(true)</span>
|
||||
<span class='doccomment'>//! .help("Sets the level of debugging information"))</span>
|
||||
|
@ -1085,7 +1085,7 @@
|
|||
<span class='doccomment'>//! .about("controls testing features")</span>
|
||||
<span class='doccomment'>//! .version("1.3")</span>
|
||||
<span class='doccomment'>//! .author("Someone E. <someone_else@other.com>")</span>
|
||||
<span class='doccomment'>//! .arg(Arg::new("verbose")</span>
|
||||
<span class='doccomment'>//! .arg(Arg::with_name("verbose")</span>
|
||||
<span class='doccomment'>//! .short("v")</span>
|
||||
<span class='doccomment'>//! .help("print test information verbosely")))</span>
|
||||
<span class='doccomment'>//! .get_matches();</span>
|
||||
|
|
Loading…
Reference in a new issue