Almost all CLI commands in AmigaOS use syntax where you can pass ? and you get prompted with a list of parameters and they're relative required'ness based on an obscure /M /A /K /S type of reference.
I believe they stand for
/A Required argument
/F Final argument in list
/K Keyword must be entered with argument
/M Multiple arguments
/N Number
/S Switch (optional)
Anyhow, I doubt people manually parse these each time. Is there a known API for handling this type of input in Amiga C?
Also, where can I find information on how to make the command resident safe?
Any help would be appreciated.