From e2b4e7097bc774607ccda28b58d953a9ccf138e5 Mon Sep 17 00:00:00 2001 From: shmuels Date: Mon, 10 May 2021 19:02:48 +0300 Subject: [PATCH] Revert "Disable the CLI comment feature entirely." This reverts commit 90e2bdf15df32403cd0a2b0c0f7e8886c1f785c4. --- apps/cli/cli_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cli/cli_main.c b/apps/cli/cli_main.c index cecebfa0..a78a128b 100644 --- a/apps/cli/cli_main.c +++ b/apps/cli/cli_main.c @@ -439,7 +439,7 @@ main(int argc, if (clicon_username_set(h, pw->pw_name) < 0) goto done; - cligen_comment_set(cli_cligen(h), 0); /* Siklu: disable comments */ + cligen_comment_set(cli_cligen(h), '#'); /* Default to handle #! clicon_cli scripts */ cligen_lexicalorder_set(cli_cligen(h), 1); /*