diff options
| author | Pavel Vymetálek <pavel@vym.cz> | 2026-11-02 10:07:08 +0100 |
|---|---|---|
| committer | Pavel Vymetálek <pavel@vym.cz> | 2026-11-02 10:07:08 +0100 |
| commit | c7aaabc166a88b0c21872a6131242803eb7c3953 (patch) | |
| tree | 7ffd829122753580b8a5f755f576584bc2426136 | |
| parent | 1ca5dc8496c67dcffd144b1071c5c045733a5461 (diff) | |
| download | sercp-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
| -rw-r--r-- | sercp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -305,6 +305,9 @@ void ParseCfg() { case 'o': is_old_protocol = 1; break; + case 's': + is_lfn_enable = 0; + break; default: break; } |
