doc/services/shell: Fix incorrect variable name

sys_getopt has now its global status variables prefixed.
Let's fix the docs.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras
2025-11-18 14:38:24 +01:00
committed by Fabio Baltieri
parent 02e6615020
commit 68e4d0c517

View File

@@ -702,7 +702,7 @@ An example non-thread safe usage:
while ((char c = sys_getopt(argc, argv, "abhc:")) != -1) {
switch (c) {
case 'c':
cvalue = optarg;
cvalue = sys_getopt_optarg;
break;
default:
break;