-
Notifications
You must be signed in to change notification settings - Fork 68
Description
Describe the bug
The command definitions in Subsystems/cmdGui/ParameterFiles use the --word option that gets reported as unrecognized by cmdUtil.
To Reproduce
Steps to reproduce the behavior:
- Build cmdUtil
- python GroundSystem.py
- Select "Display Page" for Executive Servies
- Select "Send" for "Load and Start an Application"
- Fill in StackSize with a 16384 and hit send, should see:
../cmdUtil/cmdUtil: unrecognized option '--word=16384'
Expected behavior
Cmd should work. cmdUtil expects --long instead of --word for an int32. Not clear if the GUI command definitions should be updated or the cmdUtil. Probably more useful to cal it int32...
Code snips
cFS-GroundSystem/Subsystems/cmdGui/ParameterFiles/struct_c_f_e___e_s___start_app_cmd__t
Line 57 in 636b844
aS'--word' |
cFS-GroundSystem/Subsystems/cmdUtil/cmdUtil.c
Line 186 in 636b844
printf(" --long : Add a 32 bit parameter to the packet ( hex or dec )\n"); |
cFS-GroundSystem/Subsystems/cmdUtil/cmdUtil.c
Line 109 in 636b844
{ "long", required_argument, NULL, 'l' }, |
System observed on:
- cFS Dev server
- OS: Ubuntu 16.04
- Versions: Current bundle (2.1.2 of cFS_GroundSystem)
Additional context
None
Reporter Info
Jacob Hageman - NASA/GSFC