Skip to content

Commit

Permalink
Document the new arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
matiaskorhonen committed Oct 21, 2023
1 parent 5cb0418 commit 32af614
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ paper-age [OPTIONS] [INPUT]
* `-t`, `--title <TITLE>` — Page title (max. 64 characters)

Default value: `PaperAge`
* `-n`, `--notes-label <NOTES_LABEL>` — Notes label below the QR code (max. 32 characters)

Default value: `Passphrase:`
* `--skip-notes-line` — Skip the notes placeholder line (e.g. Passphrase: ________)
* `-o`, `--output <OUTPUT>` — Output file name. Use - for STDOUT.

Default value: `out.pdf`
Expand Down
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub struct Args {
#[arg(short, long, default_value = "Passphrase:")]
pub notes_label: String,

/// Skip the notes placeholder line (e.g. Passphrase: _________________)
/// Skip the notes placeholder line (e.g. Passphrase: ________)
#[arg(long, default_value_t = false)]
pub skip_notes_line: bool,

Expand Down

0 comments on commit 32af614

Please sign in to comment.