Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error-code 2 on cargo run 🐞 #11

Closed
tgotwig opened this issue Jul 23, 2020 · 1 comment
Closed

Fix error-code 2 on cargo run 🐞 #11

tgotwig opened this issue Jul 23, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@tgotwig
Copy link
Owner

tgotwig commented Jul 23, 2020

relates clap-rs/clap#1264

With fish-shell:

β†ͺ cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.27s
     Running `target/debug/vid_merger`
vidmerger 0.1.2
Thomas Gotwig <tgotwig@gmail.com>
A wrapper around ffmpeg which simlifies merging multiple videos 🎞

USAGE:
    vid_merger <DIR> --format <format>

ARGS:
    <DIR>    Sets the input file to use

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -f, --format <format>    Sets a format
β†ͺ echo $status
2
@tgotwig tgotwig added the bug Something isn't working label Jul 23, 2020
@tgotwig
Copy link
Owner Author

tgotwig commented Jul 23, 2020

Hmmm after taking a look to other programs, this seems to be the default behavour when the help says that some arguments are required 🧐

@tgotwig tgotwig closed this as completed Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant