commit | 6d41a52e2ebba4b2f30ad9c3c414f11e4e0a1e61 | [log] [tgz] |
---|---|---|
author | aPiecek <piecek@cesnet.cz> | Mon Mar 27 14:20:38 2023 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Jun 02 15:48:29 2023 +0200 |
tree | c7c263e1094779e2f0737c6a8093e3f65f81bbd9 | |
parent | 5bbdc0241cea40e5317ead2e1d0be0eecc268af1 [diff] [blame] |
yanglint BUGFIX add -D for interactive mode
diff --git a/tools/lint/cmd_add.c b/tools/lint/cmd_add.c index bbfdfd6..eb58745 100644 --- a/tools/lint/cmd_add.c +++ b/tools/lint/cmd_add.c
@@ -68,7 +68,7 @@ goto cleanup; } - while ((opt = getopt_long(argc, argv, "D:F:hi", options, &opt_index)) != -1) { + while ((opt = getopt_long(argc, argv, "DF:hi", options, &opt_index)) != -1) { switch (opt) { case 'D': /* --disable--search */ if (options_ctx & LY_CTX_DISABLE_SEARCHDIRS) {