aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-10-03 17:18:13 +0200
committerThomas Voss <mail@thomasvoss.com> 2022-10-03 17:18:13 +0200
commit607c2de480a3abee8cf40f4aeb099c698c2497db (patch)
tree676edab38b8e17d60abca488ddd3107eeb5fe564
parent8194c7d6c5489563cc1e73f4362864e434f85e2a (diff)
Remove unused flags from call to getopt()
-rw-r--r--center.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/center.c b/center.c
index d4d724e..edd33f6 100644
--- a/center.c
+++ b/center.c
@@ -51,7 +51,7 @@ main(int argc, char **argv)
int opt;
char *endptr;
- while ((opt = getopt(argc, argv, ":elsw:")) != -1) {
+ while ((opt = getopt(argc, argv, ":ew:")) != -1) {
switch (opt) {
case 'e':
lenfunc = utf8len;