aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-11-01 21:08:44 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-11-01 21:08:44 +0100
commit3d81225658411823a3f8ae44e9276797b52ead4c (patch)
tree7032a75d576d9c7a9cebc6f51c17d0f17e42a1d6
parent92669e1c9f16fa3050e7e27a0f3cafc45b5a156f (diff)
Allow mixing -p, -s, and -z
-rw-r--r--src/main.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main.c b/src/main.c
index 2e71bef..36b1349 100644
--- a/src/main.c
+++ b/src/main.c
@@ -115,19 +115,6 @@ main(int argc, char **argv)
}
}
- if (flags.p && flags.s) {
- warn("-p and -s are mutually exclusive");
- goto usage;
- }
- if (flags.p && flags.z) {
- warn("-p and -z are mutually exclusive");
- goto usage;
- }
- if (flags.s && flags.z) {
- warn("-s and -z are mutually exclusive");
- goto usage;
- }
-
argc -= parser.optind;
argv += parser.optind;