Skip to content

Commit

Permalink
xml: removed single-output parameter for now
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Sep 22, 2024
1 parent 4dca81c commit 3b997ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ fn w3anno_arguments<'a>() -> Vec<clap::Arg<'a>> {
/// Translate command line arguments to stam library's configuration structure
fn config_from_args(args: &ArgMatches) -> Config {
Config::default()
.with_use_include(!args.is_present("no-include") && !args.is_present("single-output"))
.with_use_include(!args.is_present("no-include"))
.with_debug(args.is_present("debug"))
}

Expand Down Expand Up @@ -633,11 +633,6 @@ fn xml_arguments<'a>() -> Vec<clap::Arg<'a>> {
.required(true)
.takes_value(true),
);
args.push(
Arg::with_name("single-output")
.long("s")
.help("Single output file: do not write separate stand-off textfiles (using the @include mechanism), but put the text in the STAM JSON instead"),
);
args.push(
Arg::with_name("id-prefix")
.long("id-prefix")
Expand Down
2 changes: 1 addition & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

test: all

all: test_import
all: import

import: importtest1 importtest2 importtest3 importtest4

Expand Down

0 comments on commit 3b997ad

Please sign in to comment.