diff --git a/src/Win32_Interop/Win32_ANSI.c b/src/Win32_Interop/Win32_ANSI.c index f4f83243..2ba7251e 100644 --- a/src/Win32_Interop/Win32_ANSI.c +++ b/src/Win32_Interop/Win32_ANSI.c @@ -20,7 +20,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* Derived from ANSI.c by Jason Hood, from his ansicon project: https://github.com/adoxa/ansicon. */ +/* Derived from ANSI.c by Jason Hood, from his ansicon project (https://github.com/adoxa/ansicon), with modifications. */ #include #include diff --git a/src/redis-cli.c b/src/redis-cli.c index f347180c..c05c55a0 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -236,21 +236,6 @@ static void cliOutputCommandHelp(struct commandHelp *help, int group) { /* Print generic help. */ static void cliOutputGenericHelp() { sds version = cliVersion(); -#ifdef _WIN32 - int i = 0; - int groupslen = sizeof(commandGroups) / sizeof(char*); - printf( - "\x1b[0mredis-cli %s\r\n" - "Type: \"help @\" to get a list of commands in \r\n", - version ); - printf(" Where is one of:\n"); - for (i = 0; i < groupslen; i++) { - printf(" \x1b[1m%s\x1b[0m\n", commandGroups[i]); - } - printf( - " \"help \" for help on \r\n" - " \"quit\" to exit\r\n" ); -#else printf( "redis-cli %s\r\n" "Type: \"help @\" to get a list of commands in \r\n" @@ -259,7 +244,6 @@ static void cliOutputGenericHelp() { " \"quit\" to exit\r\n", version ); -#endif sdsfree(version); }