some tweaks to nu
This commit is contained in:
parent
2a76649221
commit
44af71946e
5 changed files with 30 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env -S nix shell "github:nix-community/fenix?rev=092bd452904e749efa39907aa4a20a42678ac31e#minimal.toolchain" -c cargo -q -Zscript
|
||||
```cargo
|
||||
[dependencies]
|
||||
clap = { version = "4.2", features = ["derive"] }
|
||||
clap = { version = "4.7", features = ["derive"] }
|
||||
```
|
||||
|
||||
use clap::Parser;
|
||||
|
@ -10,7 +10,7 @@ use clap::Parser;
|
|||
#[clap(version)]
|
||||
struct Args {
|
||||
#[clap(short, long, help = "Path to config")]
|
||||
config: Option<std::path::PathBuf>,
|
||||
video: Option<std::path::PathBuf>,
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue