diff --git a/docs/tutorial.md b/docs/tutorial.md index 826f015..eeac84c 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -8,7 +8,7 @@ large graph and we would like to pseudonymize some of the triples. This is how the flow should look like: ```shell -curl | tripsu pseudo -i index.nt -c config.yaml > pseudo.nt +curl | tripsu pseudo -x index.nt -c config.yaml > pseudo.nt ``` For this flow to stream data instead of loading everything into memory, note that diff --git a/src/main.rs b/src/main.rs index f71ff43..f5a152f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,7 +35,7 @@ struct IndexArgs { /// File descriptor to read triples from. /// Defaults to `stdin`. - #[arg(short, long, default_value = "-")] + #[arg(default_value = "-")] input: PathBuf, } @@ -43,7 +43,7 @@ struct IndexArgs { struct PseudoArgs { /// Index file produced by prepare-index. /// Required for pseudonymization. - #[arg(short, long)] + #[arg(short = 'x', long)] index: PathBuf, /// File descriptor to read input triples from.