Skip to content

Commit 49689ac

Browse files
att
1 parent 2c7b290 commit 49689ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/cli_usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The server is configured exclusively via command line arguments. Below are the a
2727

2828
### Full Command Example
2929
```bash
30-
CWebFirmware --port 5000 --dynamic_lib ./mylib.so --callback request_handler --password mysupersecretpassword --allow_read_dynamic_lib --allow_exit --allow_update_firmware
30+
CWebFirmware --port 5000 --dynamic_lib mylib.so --callback request_handler --password mysupersecretpassword --allow_read_dynamic_lib --allow_exit --allow_update_firmware
3131
```
3232

3333

docs/developing_dynamic_bins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ i686-w64-mingw32-gcc -fPIC -shared -o mylib.dll mylib.c -lws2_32
3535

3636
Then, pass its path and the callback function name via CLI when starting the server:
3737
```bash
38-
CWebFirmware --port 5000 --dynamic_lib ./mylib.so --callback request_handler --password mysupersecretpassword
38+
CWebFirmware --port 5000 --dynamic_lib mylib.so --callback request_handler --password mysupersecretpassword
3939
```
4040

4141
This basic example shows how to create a simple dynamic library that returns a static response. You can expand on this by adding logic to handle different routes, methods, or request parameters as needed for your application.

0 commit comments

Comments
 (0)