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:
committed by
Fabio Baltieri
parent
02e6615020
commit
68e4d0c517
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user