diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-01-02 15:27:16 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-01-02 15:27:16 +0100 |
commit | 31bfca25a81b62e75398148c800dfb2ac6ed4903 (patch) | |
tree | efaef0ea56574490b4978a1d8b543d8f4e3adab1 | |
parent | e208b98cb5bee6b79ca76fdfaf38128434bdf965 (diff) | |
download | drminfo-31bfca25a81b62e75398148c800dfb2ac6ed4903.tar.gz |
fix strcmp
-rw-r--r-- | complete.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ void complete_bash(const char *command, struct option *opts) for (i = 0; opts[i].name != NULL; i++) { /* hide completion options */ - if (strncmp(opts[i].name, "complete-", 9)) + if (strncmp(opts[i].name, "complete-", 9) == 0) continue; /* options with argument completion */ |