[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 0a06af1ddef5e56593276
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: n0nb <n0...@us...> - 2025-08-24 22:24:54
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hamlib -- Ham radio control libraries".
The branch, master has been updated
via 0a06af1ddef5e56593276e9c4bd069741a487f80 (commit)
via 06a2a25cb71b50b0ddac6ce0770846373455e6df (commit)
from 233282671325283b64518bae98282c62fde618db (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0a06af1ddef5e56593276e9c4bd069741a487f80
Merge: 233282671 06a2a25cb
Author: Nate Bargmann <n0...@n0...>
Date: Sun Aug 24 17:22:57 2025 -0500
Merge GitHub PR #1867
commit 06a2a25cb71b50b0ddac6ce0770846373455e6df
Author: Daniele Forsi IU5HKX <iu...@gm...>
Date: Sun Aug 24 18:52:06 2025 +0200
Remove misleading duplicated error message
The correct error message has been printed by getopt_long()
before returning.
Test cases:
$ rigmem -Q
rigmem: invalid option -- 'Q'
Unknown option '?'
Usage: rigmem [OPTION]... COMMAND... FILE
...
$ rigmem --foo
rigmem: unrecognized option '--foo'
Unknown option '?'
Usage: rigmem [OPTION]... COMMAND... FILE
...
diff --git a/tests/rigmem.c b/tests/rigmem.c
index 4314e1c2a..15154db0a 100644
--- a/tests/rigmem.c
+++ b/tests/rigmem.c
@@ -187,7 +187,6 @@ int main(int argc, char *argv[])
break;
default:
- fprintf(stderr, "Unknown option '%c'\n", c);
usage(); /* unknown option? */
exit(1);
}
-----------------------------------------------------------------------
Summary of changes:
tests/rigmem.c | 1 -
1 file changed, 1 deletion(-)
hooks/post-receive
--
Hamlib -- Ham radio control libraries
|