Skip to content

Commit

Permalink
Merge branch 'main' into all-contributors/add-wolfram77
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-C authored Feb 7, 2025
2 parents eef4096 + 65c35f9 commit 8cfdaa9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@
}
],
"contributorsPerLine": 5,
"skipCi": true,
"skipCi": false,
"commitType": "docs"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $ pdfly --help
╰─────────────────────────────────────────────────────────────────────────────╯
```

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

```console
$ pdfly 2-up --help
Expand Down
2 changes: 1 addition & 1 deletion pdfly/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def update_offsets(
resolve_path=True,
),
],
file_out: Path,
file_out: Path = typer.Option(None, "-o", "--output"),
encoding: str = typer.Option(
"ISO-8859-1",
help="Encoding used to read and write the files, e.g. UTF-8.",
Expand Down
2 changes: 2 additions & 0 deletions pdfly/update_offsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ def read_binary_file(file_path: Path, encoding: str) -> List[str]:


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

Expand Down

0 comments on commit 8cfdaa9

Please sign in to comment.