forked from erikvullings/docx-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update readme, add pretty_json option
- Loading branch information
1 parent
20d07a3
commit f7c9bfc
Showing
2 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ use std::fs; | |
|
||
#[derive(Parser)] | ||
#[command(name = "docx-parser")] | ||
#[command(version = "0.1.0")] | ||
#[command(version = "0.1.1")] | ||
#[command(author = "Erik Vullings <[email protected]>")] | ||
#[command(about = "Processes a DOCX file and outputs as Markdown or JSON", long_about = None)] | ||
struct Cli { | ||
|
@@ -17,7 +17,7 @@ struct Cli { | |
#[arg(short, long)] | ||
output: Option<String>, | ||
|
||
/// Sets the output format. Default is markdown. Options: md, json. | ||
/// Sets the output format. Default is markdown. Options: md, json, and pretty_json. | ||
#[arg(short, long)] | ||
format: Option<String>, | ||
} | ||
|