Im creating a program that shows a prompt and then based on the input does something
the input is something like (option) Ni [Nj Nk ...] eg insert Ni Nj each option can be an entire string, eg insert,find,modify or can have a shorthand i,f,m (the previous example is equivelant to i Ni Nj) (shorthands are 1-2 charachters long)
Is there any smart way to parse this input? I feel like a bunch of else ifs with strcmp isnt the answer...