Skip to content

GUI Command definitions use '--word' option unrecognized by cmdUtil #40

@skliper

Description

@skliper

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:

  1. Build cmdUtil
  2. python GroundSystem.py
  3. Select "Display Page" for Executive Servies
  4. Select "Send" for "Load and Start an Application"
  5. 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

printf(" --long : Add a 32 bit parameter to the packet ( hex or dec )\n");

{ "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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions