summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-10-13 00:19:54 +0200
committerSergei Golubchik <serg@mariadb.org>2019-10-14 10:29:30 +0200
commitf7b8d1449046a9f36618435c972d7ca8b961b540 (patch)
tree44c9a44de1fd031e039f7a80783eb262198812d8 /extra
parent3e56972712395d371f82cda564b039dcbda3100a (diff)
downloadmariadb-git-f7b8d1449046a9f36618435c972d7ca8b961b540.tar.gz
cleanup: don't use my_getopt_is_args_separator()
only my_getopt should use it, because it changes my_getopt's behavior. If one simply wants to skip the separator - don't ask it to be added in the first place
Diffstat (limited to 'extra')
-rw-r--r--extra/my_print_defaults.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/extra/my_print_defaults.c b/extra/my_print_defaults.c
index 9fa4a1d4faf..20daa530dbb 100644
--- a/extra/my_print_defaults.c
+++ b/extra/my_print_defaults.c
@@ -198,8 +198,7 @@ int main(int argc, char **argv)
}
for (argument= arguments+1 ; *argument ; argument++)
- if (!my_getopt_is_args_separator(*argument)) /* skip arguments separator */
- puts(*argument);
+ puts(*argument);
my_free(load_default_groups);
free_defaults(arguments);
my_end(0);