Skip to content

Commit

Permalink
Allow archive to be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
aldahick committed Sep 23, 2023
1 parent af877f2 commit dbe733a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: Build
on: push

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: Release
run-name: Release ${{ github.ref_name }}

permissions:
Expand Down
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ edition = "2021"
[dependencies]
clap = { version = "4.4.4", features = ["derive"] }
indicatif = "0.17.7"
serde_json = "1.0.107"
simd-json = "0.11.0"
zstd = "0.12.4"
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ mod progress;
struct Args {
/// Optionally provide a zst archive to unpack.
/// If provided, input is the path within the archive.
#[arg(short, long)]
#[arg(short, long, default_value = "")]
archive: String,

/// Input file - must be newline-separated json.
Expand Down

0 comments on commit dbe733a

Please sign in to comment.