summary refs log tree commit diff
path: root/unscoop.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-09-30 16:33:56 -0400
committerJune McEnroe <june@causal.agency>2020-09-30 16:33:56 -0400
commitc4ae76d4079cc1c9708c746aef6826666576ab37 (patch)
tree698f19fa2db40bbebfe9e6bc5a2cc5e0c6cbdad3 /unscoop.c
parentUndocument unscoop -n (diff)
downloadlitterbox-c4ae76d4079cc1c9708c746aef6826666576ab37.tar.gz
litterbox-c4ae76d4079cc1c9708c746aef6826666576ab37.zip
Rename unscoop test flag to -!
Diffstat (limited to '')
-rw-r--r--unscoop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unscoop.c b/unscoop.c
index 6638774..153841c 100644
--- a/unscoop.c
+++ b/unscoop.c
@@ -335,14 +335,14 @@ int main(int argc, char *argv[]) {
 	const char *context = NULL;
 	const struct Format *format = &Formats[0];
 
-	for (int opt; 0 < (opt = getopt(argc, argv, "DN:c:d:f:nv"));) {
+	for (int opt; 0 < (opt = getopt(argc, argv, "!DN:c:d:f:v"));) {
 		switch (opt) {
+			break; case '!': test = true;
 			break; case 'D': dedup = true;
 			break; case 'N': network = optarg;
 			break; case 'c': context = optarg;
 			break; case 'd': path = optarg;
 			break; case 'f': format = formatParse(optarg);
-			break; case 'n': test = true;
 			break; case 'v': verbose = true;
 			break; default:  return EX_USAGE;
 		}