diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-10-13 00:19:54 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-10-14 10:29:30 +0200 |
commit | f7b8d1449046a9f36618435c972d7ca8b961b540 (patch) | |
tree | 44c9a44de1fd031e039f7a80783eb262198812d8 /extra | |
parent | 3e56972712395d371f82cda564b039dcbda3100a (diff) | |
download | mariadb-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.c | 3 |
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); |