Skip to content

Commit 65c35f9

Browse files
committed
[all-contributors] Disabling skip-ci
1 parent 7518a6c commit 65c35f9

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.all-contributorsrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,6 @@
9393
}
9494
],
9595
"contributorsPerLine": 5,
96-
"skipCi": true,
96+
"skipCi": false,
9797
"commitType": "docs"
9898
}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ $ pdfly --help
4545
╰─────────────────────────────────────────────────────────────────────────────╯
4646
```
4747

48-
You can see the help of every subcommand by typing:
48+
You can see the help of every subcommand by typing `--help`:
4949

5050
```console
5151
$ pdfly 2-up --help

pdfly/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def update_offsets(
283283
resolve_path=True,
284284
),
285285
],
286-
file_out: Path,
286+
file_out: Path = typer.Option(None, "-o", "--output"),
287287
encoding: str = typer.Option(
288288
"ISO-8859-1",
289289
help="Encoding used to read and write the files, e.g. UTF-8.",

pdfly/update_offsets.py

+2
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ def read_binary_file(file_path: Path, encoding: str) -> List[str]:
277277

278278

279279
def main(file_in: Path, file_out: Path, encoding: str, verbose: bool) -> None:
280+
if not file_out:
281+
file_out = file_in
280282
console = Console()
281283
console.print(f"Read {file_in}")
282284

0 commit comments

Comments
 (0)