aboutsummaryrefslogtreecommitdiff
path: root/sercp.c
diff options
context:
space:
mode:
authorPavel Vymetálek <pavel@vym.cz>2026-11-02 10:07:08 +0100
committerPavel Vymetálek <pavel@vym.cz>2026-11-02 10:07:08 +0100
commitc7aaabc166a88b0c21872a6131242803eb7c3953 (patch)
tree7ffd829122753580b8a5f755f576584bc2426136 /sercp.c
parent1ca5dc8496c67dcffd144b1071c5c045733a5461 (diff)
downloadsercp-pc-c7aaabc166a88b0c21872a6131242803eb7c3953.tar.gz
Add -s (short) switch to configuration file (~/.sercprc) parsing
- ~/.sercprc may contains long option and it's parameter example of the .sercprc file: baud 38400 device /dev/ttyUSB0
Diffstat (limited to 'sercp.c')
-rw-r--r--sercp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sercp.c b/sercp.c
index 5eb087f..d25af14 100644
--- a/sercp.c
+++ b/sercp.c
@@ -305,6 +305,9 @@ void ParseCfg() {
case 'o':
is_old_protocol = 1;
break;
+ case 's':
+ is_lfn_enable = 0;
+ break;
default:
break;
}