r/AskLinuxUsers • • Jun 13 '17
command attributes - and --, is there a pattern?
I noticed some programs taking in attribute with - and -- prefixes. Is there a design pattern which kind of programs or attributes are with - and which with --?
2
Upvotes
View all comments
Show parent comment
1
u/[deleted] Dec 05 '17
I know this is an old question, just wished to know if someone had an answer: If I write a CLI program my self, would it be a good practise to use the same style for taking in parameters?