Skip to content

Commit 4de9ede

Browse files
fix: ignore unknown cli commands (#73)
closes #72 Ignore error during parsing unknown CLI flags.
1 parent a65a4ae commit 4de9ede

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "protols"
33
description = "Language server for proto3 files"
4-
version = "0.11.5"
4+
version = "0.11.6"
55
edition = "2024"
66
license = "MIT"
77
homepage = "https://github.com/coder3101/protols"

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ mod workspace;
2424

2525
/// Language server for proto3 files
2626
#[derive(Parser, Debug)]
27-
#[command(author, version, about, long_about = None)]
27+
#[command(author, version, about, long_about = None, ignore_errors(true))]
2828
struct Cli {
2929
/// Include paths for proto files
3030
#[arg(short, long, value_delimiter = ',')]

0 commit comments

Comments
 (0)