From 044bfe506eed655952385eb59fadb022c8927db5 Mon Sep 17 00:00:00 2001 From: Rens Oliemans Date: Fri, 14 Jun 2024 12:55:08 +0200 Subject: [PATCH] options: fix --no-status Partial revert of 806ba2edd7e116fda1036294ecab25fe21375db3, which introduced a bug described in issue #108. --- src/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.c b/src/options.c index 660a449..807efed 100644 --- a/src/options.c +++ b/src/options.c @@ -40,7 +40,7 @@ struct Options options = { static const struct OptionDef option_table[] = { { 'v', "verbose", NULL, "Give verbose output" }, { 'q', "quiet", NULL, "Suppress status message" }, - { 0, "no-status", NULL, "synonym for --quiet" }, + { 'q', "no-status", NULL, "synonym for --quiet" }, { 'h', "host", "", "Connect to server on " }, { 'P', "password", "", "Connect to server using password " }, { 'p', "port", "", "Connect to server port " },