Change in osmo-bsc[master]: osmo_bsc_main: remove unused option -t --testmode

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Thu Oct 28 10:11:17 UTC 2021


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/26004 )


Change subject: osmo_bsc_main: remove unused option -t --testmode
......................................................................

osmo_bsc_main: remove unused option -t --testmode

The option -t --testmode is defined, but not evaluated. It seems that
the code of this option was removed long ago. Lets remove it now.

Change-Id: Ie11173f5a7aab568b9a25102ad7dcf37fd49f318
---
M src/osmo-bsc/osmo_bsc_main.c
1 file changed, 1 insertion(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/04/26004/1

diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index 92b7475..17196e9 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -108,7 +108,6 @@
 	printf("  -c --config-file filename	The config file to use.\n");
 	printf("  -e --log-level number		Set a global loglevel.\n");
 	printf("  -r --rf-ctl NAME		A unix domain socket to listen for cmds.\n");
-	printf("  -t --testmode			A special mode to provoke failures at the MSC.\n");
 
 	printf("\nVTY reference generation:\n");
 	printf("     --vty-ref-mode MODE	VTY reference generation mode (e.g. 'expert').\n");
@@ -155,13 +154,12 @@
 			{"version", 0, 0, 'V' },
 			{"log-level", 1, 0, 'e'},
 			{"rf-ctl", 1, 0, 'r'},
-			{"testmode", 0, 0, 't'},
 			{"vty-ref-mode", 1, &long_option, 1},
 			{"vty-ref-xml", 0, &long_option, 2},
 			{0, 0, 0, 0}
 		};
 
-		c = getopt_long(argc, argv, "hd:DsTVc:e:r:t",
+		c = getopt_long(argc, argv, "hd:DsTVc:e:r:",
 				long_options, &option_index);
 		if (c == -1)
 			break;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/26004
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ie11173f5a7aab568b9a25102ad7dcf37fd49f318
Gerrit-Change-Number: 26004
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211028/a6ec76b4/attachment.htm>


More information about the gerrit-log mailing list