summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstddjb/sgetopt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstddjb/sgetopt.c b/src/libstddjb/sgetopt.c
index 7e6bdf6..3f94c93 100644
--- a/src/libstddjb/sgetopt.c
+++ b/src/libstddjb/sgetopt.c
@@ -16,8 +16,6 @@ int sgetopt_r (int argc, char const *const *argv, char const *opts, subgetopt_t
buffer_put(buffer_2, ": ", 2) ;
buffer_puts(buffer_2, ((c == '?') && argv[o->ind] && (o->ind < argc)) ?
"illegal option" : "option requires an argument") ;
- buffer_put(buffer_2, " -- ", 4) ;
- buffer_put(buffer_2, &c, 1) ;
buffer_putflush(buffer_2, "\n", 1) ;
}
return (int)c ;