summaryrefslogtreecommitdiff
path: root/cli/args/flags.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/args/flags.rs')
-rw-r--r--cli/args/flags.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs
index d7d51b374..555f2f312 100644
--- a/cli/args/flags.rs
+++ b/cli/args/flags.rs
@@ -1579,7 +1579,9 @@ Ignore formatting a file by adding an ignore comment at the top of the file:
.help("Set content type of the supplied file")
// prefer using ts for formatting instead of js because ts works in more scenarios
.default_value("ts")
- .value_parser(["ts", "tsx", "js", "jsx", "md", "json", "jsonc"]),
+ .value_parser([
+ "ts", "tsx", "js", "jsx", "md", "json", "jsonc", "ipynb",
+ ]),
)
.arg(
Arg::new("ignore")