Skip to content

Commit e0c3b41

Browse files
authored
Merge pull request #474 from Mrmaxmeier/cli-only-cached
cli: restore --only-cached
2 parents 66fddf5 + db4e65b commit e0c3b41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/tectonic.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use tectonic::{ctry, errmsg, tt_error, tt_error_styled, tt_note};
2323
#[derive(Debug, StructOpt)]
2424
#[structopt(name = "Tectonic", about = "Process a (La)TeX document")]
2525
struct CliOptions {
26-
/// The file to process, or "-" to process the standard input stream"
26+
/// The file to process, or "-" to process the standard input stream
2727
#[structopt(name = "input")]
2828
input: String,
2929
/// The name of the "format" file used to initialize the TeX engine
@@ -46,7 +46,7 @@ struct CliOptions {
4646
#[structopt(long = "chatter", short, name = "level", default_value = "default", possible_values(&["default", "minimal"]))]
4747
chatter_level: String,
4848
/// Use only resource files cached locally
49-
#[structopt(short = "C")]
49+
#[structopt(short = "C", long)]
5050
only_cached: bool,
5151
/// The kind of output to generate
5252
#[structopt(long, name = "format", default_value = "pdf", possible_values(&["pdf", "html", "xdv", "aux", "format"]))]

0 commit comments

Comments
 (0)