aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2022-08-20 19:25:00 +0200
committerTeddy Wing2022-08-20 19:25:00 +0200
commit23afdba000d97c4e37b4adfaeb91b93c57e9966f (patch)
tree302be5eeb03c1712c556074d5fd7d4a6c2685efd
parentdfa45eb0a3de4c4fcc427b70c91319eb8ef42bee (diff)
downloadPassextract-23afdba000d97c4e37b4adfaeb91b93c57e9966f.tar.bz2
main: Idea for new exit code when no copy options
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 6613dd8..8a52dc1 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -133,6 +133,7 @@ fn main() {
let options = parse_options(input);
if options.is_empty() {
+ // TODO: 66 noinput
process::exit(1);
}